Okay I am a beginner to Hibernate and JPA. I want to know what is the purpose of having a mapping in the persistence.xml like the following -:
When I run my project in Eclipse Hibernate creates the tables of the all the classes marked with @Entity annotation, regardless of the fact whether it is present in the persistence.xml file. So what was the use of the mapping in persistence.xml ? How can i stop Hibernate or JPA to map objects that I don't want other than deleting them from the project all together.