-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Is hibernate server running in the background ?
PostPosted: Mon Aug 01, 2005 10:41 am 
Newbie

Joined: Mon Aug 01, 2005 10:31 am
Posts: 1
Hi , everyone:

Is hibernate server running in the background ,

when we run a java program which uses hibernate as the perisistent layer?

how does hibernate intergrate with MySQl?

thanks.

Best regards.


Top
 Profile  
 
 Post subject: Re: Is hibernate server running in the background ?
PostPosted: Mon Aug 01, 2005 12:11 pm 
Beginner
Beginner

Joined: Tue Jul 19, 2005 4:03 am
Posts: 34
Location: Aberdeen, UK
Hi,

Hibernate not a server. It is actually not more than a set of libraries you can use to get your data in an out from your database. You can either deploy it on a web or application server (i.e. Tomcat/JBoss) or it can run alongside your standalone program.

A good starting point is to check out http://www.hibernate.org/hib_docs/v3/reference/en/html/

Or if you want to start using Hibernate Hibernate: A Developer's Notebook (Jim Elliott/O'Reilly) is an easy and good book to start with.


Top
 Profile  
 
 Post subject: Re: Is hibernate server running in the background ?
PostPosted: Mon Aug 01, 2005 12:12 pm 
Beginner
Beginner

Joined: Tue Jul 19, 2005 4:03 am
Posts: 34
Location: Aberdeen, UK
Hi,

Hibernate not a server. It is actually not more than a set of libraries you can use to get your data in an out from your database. You can either deploy it on a web or application server (i.e. Tomcat/JBoss) or it can run alongside your standalone program.

A good starting point is to check out http://www.hibernate.org/hib_docs/v3/reference/en/html/

Or if you want to start using Hibernate Hibernate: A Developer's Notebook (Jim Elliott/O'Reilly) is an easy and good book to start with.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 01, 2005 12:32 pm 
Regular
Regular

Joined: Wed Jan 07, 2004 5:16 pm
Posts: 65
Location: CA, USA
To answer your question about how it interacts with MySQL - it uses JDBC under the covers, the same as it does to work with any other supported database.

At a high level, Hibernate is an Object Relational Mapping tool that allows your OO Java application to work with data as objects that represent relational data in your database. Under the covers it is sitting ontop of JDBC. Rather than you writing JDBC code to map your objects to relational tables and vice versa, it executes the necessary JDBC code for you. It does this based on the mappings that you must define to tell it how your objects map to the tables.

Get a copy of Hibernate in Action - its still the best book out there so far.

Hope that helps.


Kevin Hooke


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.