This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
    Bookmark Topic Watch Topic
  • New Topic

List of entity types registered in hibernate

 
Mahesh Kedari
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
Is it possible to get the list of entity classes registered in hibernate configuration?
My problem is, I am getting Unknown Entity error while doing any operation in hibernate session.
I've ensured that all the process of registering entities is properly done. Also when i give incorrect path of any entity in persistence.xml it
throws an error for that entity saying Class Not Found, which means hibernate is able to locate my entity beans properly.

Also I tried to fetch the class signature with instance.getClass().getName() method which is coming same as that i have mentioned in persistence.xml

Can anyone please help me on this?
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please UseOneThreadPerQuestion. Duplicate of this.
 
    Bookmark Topic Watch Topic
  • New Topic