|
|
Browse by Tags
All Tags » Transactions » Spring (RSS)
-
Hi
You have very flavors, here I give just 3:
1) You can expose transactional methods in Repository clases: BeginTransaction(); RollBack(); Commit(); then in Business classes you can use it.
2) You can also play a little with contexts and create another class called UnitOfWork with those transactional methods to manage this issue. It is, ...
-
I must specify, that transactions are possible
https://springmodules.dev.java.net/docs/reference/0.8/html/db4o.html
even for test cases, but I hope there is more elegant way
|
|
|