Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven Plugin #1

Open
schnatterer opened this issue May 29, 2017 · 0 comments
Open

Maven Plugin #1

schnatterer opened this issue May 29, 2017 · 0 comments

Comments

@schnatterer
Copy link
Member

As a developer, I'd love to have maven plugin that allows for loading the test-data-loader groovy scripts into an database, to be able to simply load the specified test data into a real database, instead of the test one.

Scenario: I specified test-data-loader groovy scripts for unit tests, that runs on an in-memory H2 database to execute fast. Now, I'd like to optimize my query using Explain Plans, etc. on the production database (e.g. Postresql). In order to load the test data script into the real database, I'd have to write a new Entity Manager, that relies on the new database. It would be so much easier if I could run this using maven.
A good example would be the Flyway maven plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant