Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Exception

 
rodolfo martin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I write the last question in Spanish.
This is the same but in English of course.

Hello all,
I have an application and when it is running it sends this error:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: minor code: 0 completed: No

This error ocurrs when from an EJB called a database utilities JAR. I call it to make an update in the database. This process don�t get any error log or something like that but when it finished(more or less it update 2000 rows) the TransactionRolledbackException is printed. I haven�t any idea because I don�t use EJB for database(I can�t remember the name, maybe CMP or something like that, no?), all access to database are make with classes java.

My application runs on IBM WebSphere Application Server for Network Deployment, 5.0.2 with a Oracle 9i database and Suse Linux.

Thank you very much and sorry for the text in Spanish.
 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TMF Transactions, you cant have as many transactions in one update as you like, there is a upper limmit, on the database !

The database stores the key off every record, soo how many transactions you can have in one transactions, depends on the key length, and the setup off the database...

Have you tryed with the same jdbc call, with less updates, 100 rows ???

Frank
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic