Skip to content

Commit

Permalink
Upgrade hibernate from 6.5.2.Final to 6.6.3.Final (#3312)
Browse files Browse the repository at this point in the history
* Upgrade hibernate from 6.5.2.Final to 6.6.3.Final

* Set legacyConfigRoot=true

---------

Co-authored-by: Aaron Klish <[email protected]>
  • Loading branch information
justin-tay and aklish authored Dec 22, 2024
1 parent 1ef9326 commit bc2a336
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
4 changes: 3 additions & 1 deletion elide-integration-tests/src/test/java/example/Parent.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.yahoo.elide.core.security.RequestScope;
import com.yahoo.elide.core.security.checks.OperationCheck;

import jakarta.persistence.CascadeType;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.JoinColumn;
Expand Down Expand Up @@ -53,7 +54,8 @@ public void doInit() {
@UpdatePermission(expression = "Prefab.Role.All OR Prefab.Role.None")
// Hibernate
@ManyToMany(
targetEntity = Child.class
targetEntity = Child.class,
cascade = CascadeType.ALL
)
@JoinTable(
name = "Parent_Child",
Expand Down
3 changes: 3 additions & 0 deletions elide-quarkus/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ elide.base-graphql=/test-graphql
elide.base-swagger=/test-apiDocs
quarkus.log.level=INFO
quarkus.log.category."com.yahoo.elide".level=DEBUG
quarkus.index-dependency.jooq.group-id=com.yahoo.elide
quarkus.index-dependency.jooq.artifact-id=elide-swagger
2 changes: 1 addition & 1 deletion elide-quarkus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.version>3.13.1</quarkus.version>
<quarkus.version>3.17.3</quarkus.version>
<elide.version>7.1.5-SNAPSHOT</elide.version>
<surefire-plugin.version>3.2.5</surefire-plugin.version>
<parent.pom.dir>${project.basedir}/../..</parent.pom.dir>
Expand Down
3 changes: 3 additions & 0 deletions elide-quarkus/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<graal-sdk.version>24.0.1</graal-sdk.version>
<guava.version>33.2.0-jre</guava.version>
<handlebars.version>4.4.0</handlebars.version>
<hibernate.version>6.5.2.Final</hibernate.version>
<hibernate.version>6.6.3.Final</hibernate.version>
<hibernate-validator.version>8.0.1.Final</hibernate-validator.version>
<hibernate-search.version>6.2.4.Final</hibernate-search.version>
<hjson.version>3.1.0</hjson.version>
Expand Down

0 comments on commit bc2a336

Please sign in to comment.