Jump to content

Using Hibernate with MySQL


judacoor

Recommended Posts

I'm building a web app, using ajax, java and mysql; but an engineer told me to use hibernate to manage all the interaction with the DB, because with hibernate you can even set a connections pool and set a DAO pattern with all the best-practices implemented.So please, I wanted to share experiences with you guys..............Normally I would just set the DB and use Stored Procedures to communicate with it from the app in java. But I had never heard of hibernate before, so I'm trying to get some info in order to make things right from the beginning.The app needs to be scalabe and I really want to do it using --as I said-- using the best-practices!Thank you guys for your help!!!!!!!

Link to comment
Share on other sites

It looks pretty cool, and it's under the LGPL... http://www.hibernate.org/

Hibernate is a powerful, high performance object/relational persistence and query service. Hibernate lets you develop persistent classes following object-oriented idiom - including association, inheritance, polymorphism, composition, and collections. Hibernate allows you to express queries in its own portable SQL extension (HQL), as well as in native SQL, or with an object-oriented Criteria and Example API.
But I'd never heard of it before now either (not that I'm very knowledgeable about databases).
Link to comment
Share on other sites

You should read through that system's documentation - http://www.hibernate.org/5.html . It looks very comprehensive, and the people who wrote about it (hopefully) know everything about how it works.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...