aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes javax.ejb.EJBTransactionRolledbackException: Transaction rolled back Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "javax.ejb.EJBTransactionRolledbackException: Transaction rolled back" Watch "javax.ejb.EJBTransactionRolledbackException: Transaction rolled back" New topic
Author

javax.ejb.EJBTransactionRolledbackException: Transaction rolled back

everson santos
Ranch Hand

Joined: Jul 11, 2009
Posts: 50


my ejb is called by method below




my ejb



My mappings



lokesh sree
Ranch Hand

Joined: Oct 27, 2009
Posts: 99

Hi everson,

I think I see is Pessoa has a reference to PessoaIntegracao in OneToOne association annotated with cascadeType.ALL .
Which means when p is persisted, it will cascade a persist operation on pi as well.
So, a persist on pi again should be the cause of the exception. However, that should have given some PersistenceException.
You might have to look at the complete stack trace and see if you have any clues related to this.

Hope that helps.


Lokesh
( SCBCD 5, CCENT, SCJP 5 )
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
 
Similar Threads
Jboss 5.1 EJBTransactionRolledbackException
How to do transaction with EJB/JPA and JDBC
javax.naming.NameNotFoundException: TransactionManager not bound
Jboss 5 database connection issues.
Problem in persisting Entity with Composite Key