Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCEEJBD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
EJB Certification (OCEEJBD)
getTransaction method in EM
Nikhil Jain
Ranch Hand
Posts: 393
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Given the following method of a stateful session bean -
public void processAccount()
{
...
EntityTransaction et = em.getTransaction();
et.setRollbackOnly(); //2
...
}
What might be a possible outcome as a result of calling line //2 ...
This was the question from Enthuware. I don't find any getTransaction() in entity Manager. Isn't the question wrong.
SCJP 1.4, SCWCD 1.4, SCBCD 1.5, TOGAF 9, Comptia Cloud+
Nikhil Jain
Ranch Hand
Posts: 393
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I was actualy refering to API from O'Rel
EJB
. The interface does include getTransaction();
Thanks, Anyways
SCJP 1.4, SCWCD 1.4, SCBCD 1.5, TOGAF 9, Comptia Cloud+
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
getTransaction() on transaction-scoped persistence context.
Question regarding servlet filter for implementing the OSIV pattern...
CMRs, basic design questions
Declarative Transactions in Hibernate
Null Pointer Exception
More...