aspose file tools*
The moose likes Object Relational Mapping and the fly likes Insert or Update (Hibernate JPA + Jboss 5.0.0GA) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Insert or Update (Hibernate JPA + Jboss 5.0.0GA)" Watch "Insert or Update (Hibernate JPA + Jboss 5.0.0GA)" New topic
Author

Insert or Update (Hibernate JPA + Jboss 5.0.0GA)

Felipe Gaio
Greenhorn

Joined: Oct 23, 2009
Posts: 2
Hello,


I'm not able to insert(em.persist()) and update(em.merge()) the database using Hibernate JPA + JBoss 5.0.0GA, select(em.createQuery()) and find(em.find()) works,
Try insert(em.persist()) and update(em.merge()) already tried to get the UserTransaction but I can not in any way.



Help?
Manuel Alberto Quero
Ranch Hand

Joined: Jul 17, 2009
Posts: 31
Which version of Oracle are you using?
Felipe Gaio
Greenhorn

Joined: Oct 23, 2009
Posts: 2
Manuel Alberto Quero wrote:Which version of Oracle are you using?


Hi,

My oracle version is Oracle Database 10g Express Edition Release 10.2.0.1.0.

tranks.
 
wood burning stoves
 
subject: Insert or Update (Hibernate JPA + Jboss 5.0.0GA)