Get rid of MVCC JDBC connection parameter
This commit is contained in:
parent
bee5bae7b6
commit
4b48dd31f6
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<!-- Database connection settings -->
|
<!-- Database connection settings -->
|
||||||
<property name="connection.driver_class">org.h2.Driver</property>
|
<property name="connection.driver_class">org.h2.Driver</property>
|
||||||
<property name="connection.url">jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE</property>
|
<property name="connection.url">jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1</property>
|
||||||
<property name="connection.username">sa</property>
|
<property name="connection.username">sa</property>
|
||||||
<property name="connection.password"></property>
|
<property name="connection.password"></property>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<!-- Database connection settings -->
|
<!-- Database connection settings -->
|
||||||
<property name="connection.driver_class">org.h2.Driver</property>
|
<property name="connection.driver_class">org.h2.Driver</property>
|
||||||
<property name="connection.url">jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE</property>
|
<property name="connection.url">jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1</property>
|
||||||
<property name="connection.username">sa</property>
|
<property name="connection.username">sa</property>
|
||||||
<property name="connection.password"/>
|
<property name="connection.password"/>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<property name="jakarta.persistence.jdbc.driver" value="org.h2.Driver" />
|
<property name="jakarta.persistence.jdbc.driver" value="org.h2.Driver" />
|
||||||
<property name="jakarta.persistence.jdbc.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE" />
|
<property name="jakarta.persistence.jdbc.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1" />
|
||||||
<property name="jakarta.persistence.jdbc.user" value="sa" />
|
<property name="jakarta.persistence.jdbc.user" value="sa" />
|
||||||
<property name="jakarta.persistence.jdbc.password" value="" />
|
<property name="jakarta.persistence.jdbc.password" value="" />
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<property name="jakarta.persistence.jdbc.driver" value="org.h2.Driver" />
|
<property name="jakarta.persistence.jdbc.driver" value="org.h2.Driver" />
|
||||||
<property name="jakarta.persistence.jdbc.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE" />
|
<property name="jakarta.persistence.jdbc.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1" />
|
||||||
<property name="jakarta.persistence.jdbc.user" value="sa" />
|
<property name="jakarta.persistence.jdbc.user" value="sa" />
|
||||||
<property name="jakarta.persistence.jdbc.password" value="" />
|
<property name="jakarta.persistence.jdbc.password" value="" />
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
value="org.h2.Driver" />
|
value="org.h2.Driver" />
|
||||||
|
|
||||||
<property name="jakarta.persistence.jdbc.url"
|
<property name="jakarta.persistence.jdbc.url"
|
||||||
value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE" />
|
value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1" />
|
||||||
|
|
||||||
<property name="jakarta.persistence.jdbc.user"
|
<property name="jakarta.persistence.jdbc.user"
|
||||||
value="sa" />
|
value="sa" />
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
value="org.h2.Driver" />
|
value="org.h2.Driver" />
|
||||||
|
|
||||||
<property name="jakarta.persistence.jdbc.url"
|
<property name="jakarta.persistence.jdbc.url"
|
||||||
value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE" />
|
value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1" />
|
||||||
|
|
||||||
<property name="jakarta.persistence.jdbc.user"
|
<property name="jakarta.persistence.jdbc.user"
|
||||||
value="sa" />
|
value="sa" />
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<exclude-unlisted-classes />
|
<exclude-unlisted-classes />
|
||||||
<properties>
|
<properties>
|
||||||
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
|
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
|
||||||
<property name="hibernate.connection.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE"/>
|
<property name="hibernate.connection.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1"/>
|
||||||
<property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
|
<property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
|
||||||
<property name="hibernate.connection.username" value="sa"/>
|
<property name="hibernate.connection.username" value="sa"/>
|
||||||
<property name="hibernate.connection.password" value=""/>
|
<property name="hibernate.connection.password" value=""/>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<properties>
|
<properties>
|
||||||
<property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
|
<property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
|
||||||
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
|
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
|
||||||
<property name="hibernate.connection.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE"/>
|
<property name="hibernate.connection.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1"/>
|
||||||
<property name="hibernate.connection.username" value="sa"/>
|
<property name="hibernate.connection.username" value="sa"/>
|
||||||
<property name="hibernate.connection.password" value=""/>
|
<property name="hibernate.connection.password" value=""/>
|
||||||
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
|
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
|
||||||
|
|
|
@ -33,7 +33,7 @@ import org.hibernate.testing.DialectCheck;
|
||||||
public class ConnectionProviderBuilder implements DialectCheck {
|
public class ConnectionProviderBuilder implements DialectCheck {
|
||||||
public static final String DRIVER = "org.h2.Driver";
|
public static final String DRIVER = "org.h2.Driver";
|
||||||
public static final String DATA_SOURCE = "org.h2.jdbcx.JdbcDataSource";
|
public static final String DATA_SOURCE = "org.h2.jdbcx.JdbcDataSource";
|
||||||
// public static final String URL = "jdbc:h2:mem:%s;DB_CLOSE_DELAY=-1;MVCC=TRUE";
|
// public static final String URL = "jdbc:h2:mem:%s;DB_CLOSE_DELAY=-1";
|
||||||
public static final String URL_FORMAT = "jdbc:h2:mem:%s;DB_CLOSE_DELAY=-1";
|
public static final String URL_FORMAT = "jdbc:h2:mem:%s;DB_CLOSE_DELAY=-1";
|
||||||
public static final String URL = URL_FORMAT;
|
public static final String URL = URL_FORMAT;
|
||||||
public static final String USER = "sa";
|
public static final String USER = "sa";
|
||||||
|
|
|
@ -16,7 +16,7 @@ import org.hibernate.dialect.H2Dialect;
|
||||||
*/
|
*/
|
||||||
public final class TestingDatabaseInfo {
|
public final class TestingDatabaseInfo {
|
||||||
public static volatile String DRIVER = "org.h2.Driver";
|
public static volatile String DRIVER = "org.h2.Driver";
|
||||||
public static volatile String URL = "jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE";
|
public static volatile String URL = "jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1";
|
||||||
public static volatile String USER = "sa";
|
public static volatile String USER = "sa";
|
||||||
public static volatile String PASS = "";
|
public static volatile String PASS = "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue