-->
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: some confusions abt hibernate
PostPosted: Thu Sep 08, 2005 4:48 am 
Newbie

Joined: Thu Sep 08, 2005 4:44 am
Posts: 1
1. What's the right programming pattern when using Hibernate? Hibernate doesn't want developers to be aware of persistence until the last minute. It means developers use Java objects as if there's no such thing as persistence. When we need to persist the object to some storage, we tell Hibernate how to do by providing a XML file.
2. Does that mean if we have 100 value objects, we need 100 OR mapping XML files? If so, we don't want to maintain both Java value object and Hibernate XML file. The value objects are the only source files we want to maintain. We may want to use similar techniques like XDoclet or annotation in EJB 3.0.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 4:51 am 
Senior
Senior

Joined: Thu Aug 04, 2005 4:54 am
Posts: 153
Location: Birmingham, UK
The usual language to use is java.

As for mappings and annotations, use JDK5 and Hibernate 3 with annotations.


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.