1) Is it possible to start a transaction in an entity bean, If not then why?
2) Why is the SessionSynchroniztion Interface not defined for the entity bean?
-
Transactions in entity bean (1 messages)
- Posted by: anand k
- Posted on: July 22 2004 05:38 EDT
Threaded Messages (1)
- Transactions in entity bean by Senthil Chinnaiyan on July 22 2004 08:57 EDT
-
Transactions in entity bean[ Go to top ]
- Posted by: Senthil Chinnaiyan
- Posted on: July 22 2004 08:57 EDT
- in response to anand k
Basically Entity beans are designed to represent database data. It is just a O/R mapping object. They are not supposed to implement any business logic. You need transaction when you implement a business logic. To implement ejb has Session Beans. So there is no need to create any transaction in entity bean or to implement SessionSynchronization interface.
Hope this help,
Senthil.