Strange problem with JPA implementation with Hibernate

View: New views
1 Messages — Rating Filter:   Alert me  

Strange problem with JPA implementation with Hibernate

by Mahesh Yamsani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

I am getting a strange problem with the Hibernate implementation over JPA,

The steps that I followed are

1) I created a persistence.xml, with the persistence unit and entity classes and I used Hibernate cache provider in properties
2) My entity class cotains two classes, Instrument and Inventory
3) I execute the application my application hass successfully created all two tables in DB
4)I dropped those two tables from DB
5)I evedn deleted those two entity classes from persitence.xml
6)Now I added the new entity class called Experiment
7)I just cleaned all my application files and every thing
8)I built the application again
9)Now the strange problem comes in to the picture
10)My application has created table but the count is three, including my previous two tables.

I deleted all of the entries belong to those two tables, but how it has created those two table. can any one help me in this issue.