• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

J2EE Tranactions

in J2EE:

suppose that inside a J2EE transaction not just updates to the DB are preformed, but also some objects and primitive types are being changed.if the transactions fails to reach the commit stage for some reason, and a rollback action is performed would the initial value of the objects and primitve types be restored?  
0
krelman
Asked:
krelman
  • 4
  • 4
  • 2
  • +1
1 Solution
 
CEHJCommented:
No
0
 
Mayank SAssociate Director - Product EngineeringCommented:
You don't have a roll-back in Java ;-)
0
 
krelmanAuthor Commented:
Then what is the exact  meaning of J2EE Transaction ?
Thanks.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Mayank SAssociate Director - Product EngineeringCommented:
0
 
CEHJCommented:
A transaction applies to the database and java objects that have effectively 'become' the database through CMP/BMP - not any other objects.
0
 
objectsCommented:
Transactions are related to db data, not your objects. You need to manage those yourself.
0
 
objectsCommented:
Read the tute posted by mayankeagle above, it gives a good overview.
0
 
CEHJCommented:
8-)
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Well, even here, CEHJ, the recommendation was not acted upon ;-)
0
 
CEHJCommented:
Maybe it was closed by the questioner ;-)
0
 
Mayank SAssociate Director - Product EngineeringCommented:
No worries :-)
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now