Skip to content

Conversation

@koentsje
Copy link
Member

  • Create an abstract method 'createDatabaseScript()' to return an array of SQL statements for the database creation
  • Implement this method in the integration test classes
  • Modify the 'createDatabase()' method to use the above script and pull up to TestTemplate
  • Pull up the methods 'constructJdbcConnectionString()' and createBuildXmlFile() to TestTemplate
  • Get rid of the local variables and '@beforeeach' method for all the integration test classes

  - Create an abstract method 'createDatabaseScript()' to return an array of SQL statements for the database creation
  - Implement this method in the integration test classes
  - Modify the 'createDatabase()' method to use the above script and pull up to TestTemplate
  - Pull up the methods 'constructJdbcConnectionString()' and createBuildXmlFile() to TestTemplate
  - Get rid of the local variables and '@beforeeach' method for all the integration test classes

Signed-off-by: Koen Aers <[email protected]>
@koentsje koentsje merged commit acd5bb5 into hibernate:main Jul 31, 2025
3 checks passed
@koentsje koentsje deleted the HBX-3068 branch July 31, 2025 15:14
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

Successfully merging this pull request may close these issues.

1 participant