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

Liquibase liquibase-maven-plugin creates tables but tables cannot be found in Integration Tests: org.hibernate.HibernateException #64

Closed
rajivj2 opened this issue Oct 14, 2014 · 1 comment

Comments

@rajivj2
Copy link

rajivj2 commented Oct 14, 2014

Hi

I am using Liquibase. I want the database tables to be created before the Integration Tests.

The code is located on GitHib: https://github.com/rajivj2/example2/

The EmployeeJpaDAOIT.java is the class that contains the test. All I want to do is have the tables created before the test actually starts. I can see the plugin creates the tables at runtime but the Integration Tests throws the following Exception:

Caused by: org.hibernate.HibernateException: Missing table: employee

I have tried various things but the table cannot be found. Could you please look into what the issue is?

@rajivj2 rajivj2 closed this as completed Oct 14, 2014
@rajivj2
Copy link
Author

rajivj2 commented Oct 14, 2014

I have closed this issue as this needs to be moved into the liquibase-maven-plugin.

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

No branches or pull requests

1 participant