aspose file tools*
The moose likes Object Relational Mapping and the fly likes [Ask] What kinds of Hibernate do you use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "[Ask] What kinds of Hibernate do you use?" Watch "[Ask] What kinds of Hibernate do you use?" New topic
Author

[Ask] What kinds of Hibernate do you use?

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Dear All..

I just one a little question..
same as topic, What kinds of hibernate do you ussually use?..
Hibernate Core or Hibernate Annotation?..

and which one is matched for a big scope Spring Hibernate application?..
Hibernate Core or Hibernate Annotation?..

is it possible to use both of Hibernate Annotation and Hibernate Core in our application?..

Thank's in advance


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Francois Nadeau
Ranch Hand

Joined: Apr 09, 2009
Posts: 46
For new projects we use annotations. Older projects (before Hibernate 3.0) use XDoclet.

This way we only have one place to look when modifying the code (don't need to search through xml files).

Sorry, I don't know about Spring.

Yes it is possible to use both classes that have annotation and hbm files in the same project, but for maintenance consideration I would stay away from this approach.


[url]http://FrancoisNadeau.com[/url]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Ask] What kinds of Hibernate do you use?