We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have legacy test codebase , which working fine in MySql.
Now when I tried that code base with MSSQL, it required me to pass schema in each class which is cumbersome. Like
@DbUnit(schema = 'dbo', configure={ ..... })
Is this possible to use schema from Connection class, in DbUnitInterceptor like this:
void interceptFeatureMethod(IMethodInvocation invocation) throws Throwable { .... def schema = dbUnitAnnotation.schema() if(schema == '' || schema == null){ dataSource.getConnection().getSchema(); } tester = new DataSourceDatabaseTester(dataSource, schema ) { ... }
The text was updated successfully, but these errors were encountered:
Actually Issue #12 solved my issue, so closing this issue. Thanks :)
Sorry, something went wrong.
No branches or pull requests
I have legacy test codebase , which working fine in MySql.
Now when I tried that code base with MSSQL, it required me to pass schema in each class which is cumbersome. Like
Is this possible to use schema from Connection class, in DbUnitInterceptor like this:
The text was updated successfully, but these errors were encountered: