mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-05 04:13:55 +00:00
* fix: Change h2 database usage to in mem (#2366) * #2366 Add delay option
This commit is contained in:
1 parent
7a966a5786
commit
0f39267a19
14 files changed
+37
-13
No files matched your search
@@ -49,7 +49,7 @@ import org.joda.money.Money;
|
||||
*/
|
||||
public class App {
|
||||
|
||||
public static final String H2_DB_URL = "jdbc:h2:~/test";
|
||||
public static final String H2_DB_URL = "jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1";
|
||||
|
||||
public static final String CREATE_SCHEMA_SQL =
|
||||
"CREATE TABLE CUSTOMERS (name varchar primary key, money decimal);"
|
||||
|
||||
Reference in new issue
Block a user