JAVA-16946 Upgrade h2 database version for remaining modules (#13976)
This commit is contained in:
parent
0a634dfa03
commit
4fb65f5c6e
|
@ -23,7 +23,7 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<h2.version>1.4.197</h2.version> <!-- needs to be specified as it fails with parent's 1.4.200 -->
|
<h2.version>2.1.214</h2.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
|
@ -97,7 +97,7 @@
|
||||||
<module>core-java-lang-oop-constructors</module>
|
<module>core-java-lang-oop-constructors</module>
|
||||||
<module>core-java-lang-oop-patterns</module>
|
<module>core-java-lang-oop-patterns</module>
|
||||||
<module>core-java-lang-oop-generics</module>
|
<module>core-java-lang-oop-generics</module>
|
||||||
<!-- <module>core-java-lang-oop-modifiers</module>-->
|
<module>core-java-lang-oop-modifiers</module>
|
||||||
<module>core-java-lang-oop-types</module>
|
<module>core-java-lang-oop-types</module>
|
||||||
<module>core-java-lang-oop-types-2</module>
|
<module>core-java-lang-oop-types-2</module>
|
||||||
<module>core-java-lang-oop-inheritance</module>
|
<module>core-java-lang-oop-inheritance</module>
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
<maven-processor-plugin.version>3.3.3</maven-processor-plugin.version>
|
<maven-processor-plugin.version>3.3.3</maven-processor-plugin.version>
|
||||||
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
|
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
|
||||||
<querydsl.version>4.3.1</querydsl.version>
|
<querydsl.version>4.3.1</querydsl.version>
|
||||||
<h2.version>1.4.200</h2.version>
|
<h2.version>2.1.214</h2.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
|
@ -5,7 +5,7 @@ import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
@Entity
|
@Entity(name = "users")
|
||||||
public class User {
|
public class User {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
|
|
@ -197,7 +197,7 @@
|
||||||
<property name="javax.persistence.jdbc.driver"
|
<property name="javax.persistence.jdbc.driver"
|
||||||
value="org.h2.Driver" />
|
value="org.h2.Driver" />
|
||||||
<property name="javax.persistence.jdbc.url"
|
<property name="javax.persistence.jdbc.url"
|
||||||
value="jdbc:h2:mem:test" />
|
value="jdbc:h2:mem:test;MODE=LEGACY" />
|
||||||
<property name="javax.persistence.jdbc.user" value="sa" />
|
<property name="javax.persistence.jdbc.user" value="sa" />
|
||||||
<property name="javax.persistence.jdbc.password" value="" />
|
<property name="javax.persistence.jdbc.password" value="" />
|
||||||
<property name="javax.persistence.sql-load-script-source"
|
<property name="javax.persistence.sql-load-script-source"
|
||||||
|
|
|
@ -197,7 +197,7 @@
|
||||||
<property name="javax.persistence.jdbc.driver"
|
<property name="javax.persistence.jdbc.driver"
|
||||||
value="org.h2.Driver" />
|
value="org.h2.Driver" />
|
||||||
<property name="javax.persistence.jdbc.url"
|
<property name="javax.persistence.jdbc.url"
|
||||||
value="jdbc:h2:mem:test" />
|
value="jdbc:h2:mem:test;MODE=LEGACY" />
|
||||||
<property name="javax.persistence.jdbc.user" value="sa" />
|
<property name="javax.persistence.jdbc.user" value="sa" />
|
||||||
<property name="javax.persistence.jdbc.password" value="" />
|
<property name="javax.persistence.jdbc.password" value="" />
|
||||||
<property name="javax.persistence.sql-load-script-source"
|
<property name="javax.persistence.sql-load-script-source"
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
<!-- <module>spring-jpa</module>
|
<!-- <module>spring-jpa</module>
|
||||||
<module>spring-jpa-2</module> FAILED -->
|
<module>spring-jpa-2</module> FAILED -->
|
||||||
<module>spring-jdbc</module>
|
<module>spring-jdbc</module>
|
||||||
<!-- <module>spring-jooq</module>--> <!-- parent-boot-2 is its parent. -->
|
<module>spring-jooq</module>
|
||||||
<module>spring-mybatis</module>
|
<module>spring-mybatis</module>
|
||||||
<module>spring-persistence-simple</module>
|
<module>spring-persistence-simple</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
|
@ -195,11 +195,11 @@
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<org.jooq.version>3.14.15</org.jooq.version>
|
<org.jooq.version>3.16.18</org.jooq.version>
|
||||||
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
|
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
|
||||||
<sql-maven-plugin.version>1.5</sql-maven-plugin.version>
|
<sql-maven-plugin.version>1.5</sql-maven-plugin.version>
|
||||||
<properties-maven-plugin.version>1.0.0</properties-maven-plugin.version>
|
<properties-maven-plugin.version>1.0.0</properties-maven-plugin.version>
|
||||||
<h2.version>1.4.200</h2.version>
|
<h2.version>2.1.214</h2.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
Loading…
Reference in New Issue