jpa-unit icon indicating copy to clipboard operation
jpa-unit copied to clipboard

Enable seeding of a database using domain objects directly

Open dadrus opened this issue 7 years ago • 0 comments

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

dadrus avatar Nov 24 '17 14:11 dadrus