Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Hibernate with existing database  RSS feed

 
Bai Shen
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, I've used Hibernate before, but those were all done with Hibernate creating my database.

Now I have a database and I want to connect to it with Hibernate. AFAIK, Hibernate can do this, but I'm not sure what I need to do in order to have it generate all of my pojo's, etc.

Can anyone point me to a good example? TIA.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!