Java 15439 PR to check failing test for modules fixed till date (#13150)

* JAVA-15439 Upgrade h2 database version - libraries-testing and deltaspike modules

* JAVA-15439 Fix for hibernate-queries,  hibernate-5,  java-jpa-2,  java-jpa-3 modules

* JAVA-15439 Fix for java-jpa, spring-jpa, spring-jpa-2 modules

* JAVA-15439 Revert changes for java-jpa-2 module

* JAVA-15439 Fix for core-java-persistence-2 and hibernate-exceptions modules

* JAVA-15439 Modules hibernate-mapping-2, read-only-transactions, log4j2, spring-data-eclipselink
This commit is contained in:
anuragkumawat
2022-12-20 23:17:29 +05:30
committed by GitHub
parent 456652e02b
commit 0e5e21f2ae
35 changed files with 52 additions and 52 deletions
@@ -1,18 +1,18 @@
CREATE TABLE course (
id bigint(20) NOT NULL,
id bigint auto_increment NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE student (
id bigint(20) NOT NULL,
id bigint auto_increment NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE course_like (
student_id bigint(20) NOT NULL,
course_id bigint(20) NOT NULL,
student_id bigint auto_increment NOT NULL,
course_id bigint auto_increment NOT NULL,
PRIMARY KEY (student_id, course_id),
CONSTRAINT fk_course_like__student FOREIGN KEY (student_id) REFERENCES student (id),
CONSTRAINT fk_course_like__course FOREIGN KEY (course_id) REFERENCES course (id)
@@ -21,9 +21,9 @@ CREATE TABLE course_like (
CREATE TABLE course_rating (
course_id bigint(20) NOT NULL,
student_id bigint(20) NOT NULL,
rating int(11) NOT NULL,
course_id bigint auto_increment NOT NULL,
student_id bigint auto_increment NOT NULL,
rating int auto_increment NOT NULL,
PRIMARY KEY (course_id, student_id),
CONSTRAINT fk_course_rating__student FOREIGN KEY (student_id) REFERENCES student (id),
CONSTRAINT fk_course_rating__course FOREIGN KEY (course_id) REFERENCES course (id)
@@ -32,11 +32,11 @@ CREATE TABLE course_rating (
CREATE TABLE course_registration (
id bigint(20) NOT NULL,
grade int(11),
id bigint auto_increment NOT NULL,
grade int auto_increment,
registered_at datetime NOT NULL,
course_id bigint(20) NOT NULL,
student_id bigint(20) NOT NULL,
course_id bigint auto_increment NOT NULL,
student_id bigint auto_increment NOT NULL,
PRIMARY KEY (id),
CONSTRAINT fk_course_registration__student FOREIGN KEY (student_id) REFERENCES student (id),
CONSTRAINT fk_course_registration__course FOREIGN KEY (course_id) REFERENCES course (id)