mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-26 22:01:28 +00:00
* fix: Change h2 database usage to in mem (#2366) * #2366 Add delay option
This commit is contained in:
@@ -136,7 +136,7 @@ methods to read and deserialize data items to `Country` objects.
|
||||
```java
|
||||
@Slf4j
|
||||
public class App {
|
||||
private static final String DB_URL = "jdbc:h2:~/test";
|
||||
private static final String DB_URL = "jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1";
|
||||
|
||||
private App() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user