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

It is not possible to have multiple connections if databases use different syntax #138

Open
Nidum opened this issue Apr 9, 2019 · 1 comment

Comments

@Nidum
Copy link

Nidum commented Apr 9, 2019

On our project we have 2 databases: MySql and HBase under Apache Phoenix library. The thing is, that these two databases need to use different databaseOperationLookup classes, because MySql uses standard "Insert", while Phoenix supports "Upsert" operation only (Upsert operation inserts rows into a database table if they do not already exist, or updates them if they do.).
It would be nice, if a user could configure different databaseOperationLookup classes for different db connections.

@ppodgorsek
Copy link
Owner

Unfortunately, I haven't seen anything related to Phoenix in DBUnit. As this project relies on what DBUnit supports, it would be necessary to first submit an issue in the DBUnit project, this support could probably be done based on logic similar to what can be found in org.dbunit.ext.mssql.InsertIdentityOperation.

Once done, I would then be able to provide support for it here too.

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

2 participants