Saturday, January 28, 2012

My Contacts App Part IV (MySQLData base with Hibernate)

Hi guys, we are back!

Today, we are going to see how to manage your classes to store, update, get, delete them of your data base, because a real application of management uses a data base to store the information to work.

We will work with a MySQL data base, Java (of  course) and Hibernate (a framework). We use Hibernate because we need to do a mapping of our classes, for example, the Contact.java class, to store its objects (its contacts) on our MySQL data base. This task is very easy if we use this framework, Hibernate.

I have written a post about Hibernate. I think that is necessary to study something about Hibernate before, so you can take a look here: http://quickguide4engineers.blogspot.com/2011/09/introduction-to-hibernate-part-1.html

Then, you can watch the video-tutorial. I hope it is helpful for you.

You can get the eclipse project on our public mercurial repository cloning this url with tortoise mercurial hg: https://bitbucket.org/qg4engineers/mycontacts


No comments:

Post a Comment