Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Rollback in Trabsactions  RSS feed

 
Taq
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the transaction rollback guaranteed when methods in session beans are called after
an entity bean's create has been called in the first session bean and SessionContext's setRollbackOnly in second session bean's method has been called.
The transaction attribute is "Required".
The case reported with EJB1.1 with Weblogic Server 6.1 is that it does not rollback properly i.e entity bean's create finally inserts a row.
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which topic on the syllabus of the Sun Certified Java Programmers Exam does this come under?
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I reckon I must move this somewhere more appropriate to the topic of the question...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!