jpa-unit
jpa-unit copied to clipboard
Enable seeding of a database using domain objects directly
The funcionality to seed the database using db specific scripts and statement is already available. It would be however very helpful if direct usage of domain objects would be possible to seed the db in a test case aware setup phase (like available with db statements and scripts) which runs in its own transaction.
It should be possible to arbitrary define the required domain object, e.g by the use of such libraries like benas/random-beans or test-data-loader and in best case having all phases as defined by @InitialDataSets