A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate with EJB3
Joined: May 15, 2005
Jul 10, 2008 05:05:00
Can hibernate be used with
. I know that there is support for JPA. But can we use other ORM with EJB3.
SCJP 1.4, SCWCD 1.4, SCBCD 1.5
Joined: Oct 23, 2005
Jul 10, 2008 05:20:00
Yes, to answer your first question, but I'll move this into Object Relationship Mapping tool anyway.
Down Home Country Coding with Scott Selikoff
Joined: Jul 13, 2008
Jul 13, 2008 08:40:00
Of course it can be used.
Only you cannot use Criteria API and Session. At least i didn't manage to get it from EntityManager.getDelegate()
Here is part of my persistence.xml file..
<persistence-unit name="StockEmuTest-ejbPU" transaction-type="JTA">
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
I agree. Here's the link:
subject: Hibernate with EJB3
Question for Authors: Hibernate vs. EJB 3.0
difference between hibernate and ejb
which version of jboss supports EJB3 and jdk6
JPA v/s Hibernate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014