- build
Build the embedded database.
- <init>
Create a new embedded database builder with the given ResourceLoader.
- setType
Set the type of embedded database.Defaults to HSQL if not called.
- addScript
Add a SQL script to execute to populate the database.
- setName
Set the name of the embedded database.Defaults to "testdb" if not called.
- addScripts
Add multiple SQL scripts to execute to initialize or populate the database.
- generateUniqueName
- ignoreFailedDrops
Specify that a failed SQL DROP statement within an executed script can be
ignored.This is useful for
- setScriptEncoding
Specify the character encoding used in all SQL scripts, if different from the
platform encoding.
- setBlockCommentEndDelimiter
Specify the end delimiter for block comments in all SQL scripts.Defaults to "*/".
- setBlockCommentStartDelimiter
Specify the start delimiter for block comments in all SQL scripts.Defaults to
"/*".
- setCommentPrefix
Specify the single-line comment prefix used in all SQL scripts.Defaults to "--".