-->
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: About EJB 3.0 and Hibernate 3.x ...
PostPosted: Tue May 09, 2006 9:39 pm 
Newbie

Joined: Tue May 09, 2006 8:25 pm
Posts: 2
Greetings ...

Can help me about the diference between EJB 3.0 (EJB-QL) and Hibernate 3.x (HQL); I understand that EJB 3.0 implements a persistence model and Hibernate 3.x other similar model; in a J2EE application where it compose EJB SESSION y EJB ENTITY, can I use the API of EJB 3.0 and/or Hibernate 3.x, respectively ? There is no conflict between EJB-SQL and HQL or your libraries ? Thank you for your help.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 10, 2006 5:08 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
You can mix and match EJB3 and H3 how ever you feel.

But things differ a bit, as EJB3 is a subset of H3.
Check out javadocs for EntityManager and org.hibernate.Session.


Top
 Profile  
 
 Post subject: About EJB 3.0 and Hibernate 3.x ...
PostPosted: Wed May 10, 2006 5:41 pm 
Newbie

Joined: Tue May 09, 2006 8:25 pm
Posts: 2
I already understood. Thanks for your help.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 12, 2006 8:20 pm 
Beginner
Beginner

Joined: Sun Sep 25, 2005 11:57 am
Posts: 29
I have a simple application, using Hibernate 3.0 for persistence. This is just a "play" app I use to try various technologies. I want to migrate this app to EJB 3.0.

Is there an article or a paper or any documentation which might include a step by step on migrating from Hibernate 3.0 to EJB 3.0? Such a migration should be a "piece of cake", I think, but it would be instructive to see them compared side-by-side like this.

Thanks.


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.