This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setTransactionTimeout in CMP

 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When using BMP and UserTransaction, I have a property called "setTransactionTimeout".

When using CMP instead of BMP, where can I set a value like "setTransactionTimeout"?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This will depend on which container you are using.
 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay got it. I am using jboss as and the transaction timeout is defined within the server.xml.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic