Skip to content

Commit

Permalink
HSEARCH-4509 Upgrade to Hibernate ORM 6.0.0.CR2
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere authored and marko-bekhta committed Sep 25, 2023
1 parent b9a9c51 commit 0d675a9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ private void processCollectionEvent(AbstractCollectionEvent event) {
*/
@Override
@SuppressWarnings("deprecation") // Deprecated but abstract, so we have to implement it...
public boolean requiresPostCommitHanding(EntityPersister persister) {
public boolean requiresPostCommitHandling(EntityPersister persister) {
// TODO Tests seem to pass using _false_ but we might be able to take
// advantage of this new hook?
return false;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
<version.net.bytebuddy>${version.net.bytebuddy.orm6}</version.net.bytebuddy>

<!-- >>> ORM 6 with Jakarta Persistence -->
<version.org.hibernate.orm>6.0.0.CR1</version.org.hibernate.orm>
<version.org.hibernate.orm>6.0.0.CR2</version.org.hibernate.orm>
<javadoc.org.hibernate.orm.url>https://docs.jboss.org/hibernate/orm/${parsed-version.org.hibernate.orm.majorVersion}.${parsed-version.org.hibernate.orm.minorVersion}/javadocs/</javadoc.org.hibernate.orm.url>
<documentation.org.hibernate.orm.url>https://docs.jboss.org/hibernate/orm/${parsed-version.org.hibernate.orm.majorVersion}.${parsed-version.org.hibernate.orm.minorVersion}/userguide/html_single/Hibernate_User_Guide.html</documentation.org.hibernate.orm.url>
<!-- These version must be kept in sync with the version of the dependency in Hibernate ORM 6.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ public interface FullTextSharedSessionBuilder extends SharedSessionBuilder {
@Override
FullTextSharedSessionBuilder autoClose();

@Deprecated
@Override
FullTextSharedSessionBuilder transactionContext();

@Override
FullTextSharedSessionBuilder interceptor(Interceptor interceptor);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ public FullTextSharedSessionBuilder autoClose() {
return this;
}

@Deprecated
@Override
public FullTextSharedSessionBuilder transactionContext() {
builder.transactionContext();
return this;
}

@Override
public FullTextSharedSessionBuilder interceptor(Interceptor interceptor) {
builder.interceptor( interceptor );
Expand Down

0 comments on commit 0d675a9

Please sign in to comment.