For StackOverflow Question:
The objective of this application is to insert data into tables for tests and then query this information.
There are two examples
-
Not Mapped Entities
This case need the 'CREATE TABLE..' part in the SQL file (because the hibernate doesn't know about this table) -
Mapped Entities
This case doesn't need the table creation in the SQL file because it has already created by hibernate.
./gradlew clean build
./gradlew clean test