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

SQL table insert data using JDBCTemplate scenario fails when GenerationType is Sequence #1

Open
pranav-patil opened this issue May 7, 2018 · 0 comments
Assignees
Labels

Comments

@pranav-patil
Copy link
Owner

The scenario SQL table abc has data which executes the method SQLSteps.tableHasData() fails when the hibernate entity class of the SQL table has a @GeneratedValue with GenerationType as SEQUENCE or AUTO. The problem is to dynamically switch the GenerationType to IDENTITY which is supported by H2 database from other GenerationType used for production SQL database.

@pranav-patil pranav-patil self-assigned this Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant