• Post Reply Bookmark Topic Watch Topic
  • New Topic

Insert or Update (Hibernate JPA + Jboss 5.0.0GA)

 
Felipe Gaio
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which version of Oracle are you using?
 
Felipe Gaio
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!