-->
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.  [ 2 posts ] 
Author Message
 Post subject: Difference between Obeject mapping and relational mapping?
PostPosted: Tue Nov 21, 2006 3:44 am 
Newbie

Joined: Mon Nov 20, 2006 7:06 am
Posts: 1
Location: mumbai
I am very new to Hibernate firstly I want to know the basic questions like

1.Difference between Obeject mapping and relational mapping?
2.Why HibernateFrame work?
3.Advantage over Jdbc?


Plz explain with an examples

Regards
Syamkumar


Top
 Profile  
 
 Post subject: differnce
PostPosted: Tue Nov 21, 2006 5:54 am 
Beginner
Beginner

Joined: Tue Nov 21, 2006 5:18 am
Posts: 31
Location: Bangalore, India
Its not separate object mapping and relational mapping.

1)This is Object to relational mapping,

That means you are mapping your java object to a relational database that is funda,

2)Hibernate framework is for persistence, if you want to serialize an object you have to maintain a list of files or should query db everytimes using sql.

3)If you use hibernate, you can fetch the datas from db like an object. no need to write sql, this will automatically generates.

Here you use jdbc by using hibernate no place for comparison of jdbc.

_________________
persist_coder
--credit please if it helps you


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.