-->
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: Basic guide to move from Hibernate Core to EntityManager?
PostPosted: Tue Dec 19, 2006 5:44 pm 
Newbie

Joined: Mon Jul 24, 2006 3:21 pm
Posts: 14
I'm working on a project (Java SE 5, Swing desktop app) that currently uses Hibernate for it's ORM solution. We're reworking some stuff (because we failed to keep good separation between the persistence layer and the UI layer). In the rework, we would like to move to a strictly 'portable' JPA-based solution. In other words, we would like to use as few Hibernate-specific features as possible. We still plan to keep using Hibernate for now, but in the future will probably move to a Java EE 5 architecture where we will be referencing EntityManagers and PersistenceUnits (even though we might still use Hibernate as the persistence provider).

Are there any nice websites that might give us a head start on this migration?

In case it matters, right now we're using HBM files for our mappings instead of annotations, so we'll need to convert our HBMs to the JPA schema.


Top
 Profile  
 
 Post subject: JPA compliant
PostPosted: Wed Dec 20, 2006 11:34 am 
Newbie

Joined: Fri Dec 15, 2006 11:09 am
Posts: 10
I think you are on the website you are looking for. Keep digging around on this site. I continue to find more goodies here. Here are some particular examples that can help with your want to code JPA compliant as much as possible.

The sample chapter:
http://www.manning.com/bauer2/chapter2.pdf

The Hibernate Annotations and Hibernate EntityManager sections found on this page:
http://www.hibernate.org/5.html

I have found that the Hibernate documentation above does a nice job of explaining JPA and Hibernate specific implementation and extensions.

Also, the Hibernate wiki on this site has lots of 'outside' references:
http://www.hibernate.org/37.html

Hope this helps,
Jeff


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.