hi.... i try to create some projects with JPA... buat i can't delete the data on database.... i used oracle for DB and netbeans for the IDE...... any one can give me some example with some explanation???
btw here is some of my code for deleting the entity database...
throws ServletException {
assert emf != null; //Make sure injection went through correctly.
EntityManager em = null;
try {
TabelCoba coba=em.find(TabelCoba.class, 1);
em = emf.createEntityManager();

what the meaning of (TabelCoba.class,1) what is "1" used for... since i know that TabelCoba.class is my table class