Java EE/JPA Integration testing with Rollback like in Spring -


in current project i'm using java ee , jpa. i'm confronted need persist stuff and, working test driven, try figure out how test stuff.

in former project spring used @transactional(rollback=true) roll transactions after each test. call persist + flush , query check if jpa done correctly.

how do elegantly (minimal configuration work, least possible stuff/resources) in java ee?

jeeunit looked answer, no longer continued merged 'pax exam' provide maven support don't have.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -