I have two dao methods and if these two methods are called separately by two different functions. How can i make the dao methods to be transactional(1 transaction two methods) so that if there is any error in second dao method both methods will be rolled back..
Tell me more
×
Programmers Stack Exchange is a question and answer site for
professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.
closed as not a real question by gnat, Kilian Foth, GlenH7, Glenn Nelson, Walter Feb 7 at 12:38
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
|
you wrap them in a service layer.
|
|||
|
|