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 committed Oct 6, 2022
1 parent 1eb4ff7 commit 7b0af14
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
Expand Up @@ -318,7 +318,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
Expand Up @@ -279,7 +279,7 @@
<version.net.bytebuddy>${version.net.bytebuddy.orm6}</version.net.bytebuddy>

<!-- >>> ORM 6 / 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
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
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 7b0af14

Please sign in to comment.