Jun 21st, 2011, 08:30 AM
Spring Transactions With Junit
I am having problem in running test case with Transaction..
I have created a test case and in test case i have called method that insert some data and write Transactional annotation on that method..but on running test case it gives Exception while on running on server its works fine..
Can any one suggest what should i need to solve this issue..
Aug 28th, 2011, 06:03 AM
We create Junit to run the Dao classes which interact with Database quite often , those methods in dao instrument falsify the collection and pervert the collection in database after method subscription ,one way to abstain is to use the offence the transaction after the method execution .
Infact the Elasticity's AbstractTransactionalSpringContextTests does reflexive rollback each second after the method enforcement there by reducing the pot shield encrypt to offence the dealing.
Pontiac Power Steering Gear Box