Skip to content

Commit

Permalink
#43 - Upgrade the hibernate version to 6.4.0 (#44)
Browse files Browse the repository at this point in the history
* #43 - Updated Hibernate version to 6.4.0

* #43 - Added org.checkerframework:checker-qual dependency to fix tests.
  • Loading branch information
starnowski authored Jan 4, 2024
1 parent 1fb1e20 commit 10ad9ab
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hibernate6-functional-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<org.hibernate.hibernate.core.version>6.2.5.Final</org.hibernate.hibernate.core.version>
<org.hibernate.hibernate.core.version>6.4.0.Final</org.hibernate.hibernate.core.version>
</properties>

<dependencies>
Expand Down
8 changes: 7 additions & 1 deletion hibernate6/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<artifactId>hibernate6</artifactId>

<properties>
<org.hibernate.hibernate.core.version>6.2.5.Final</org.hibernate.hibernate.core.version>
<org.hibernate.hibernate.core.version>6.4.0.Final</org.hibernate.hibernate.core.version>
<java.version>11</java.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
Expand Down Expand Up @@ -47,6 +47,12 @@
<version>5.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<version>3.42.0</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import static com.github.starnowski.posmulten.hibernate.common.context.CurrentTenantContext.getCurrentTenant;

public class CurrentTenantIdentifierResolverImpl implements CurrentTenantIdentifierResolver {
public class CurrentTenantIdentifierResolverImpl implements CurrentTenantIdentifierResolver<String> {

public String resolveCurrentTenantIdentifier() {
return getCurrentTenant();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.sql.PreparedStatement;
import java.sql.SQLException;

public class SharedSchemaMultiTenantConnectionProvider extends AbstractMultiTenantConnectionProvider implements ServiceRegistryAwareService {
public class SharedSchemaMultiTenantConnectionProvider extends AbstractMultiTenantConnectionProvider<String> implements ServiceRegistryAwareService {

private ConnectionProvider connectionProvider;
private ISharedSchemaContext context;
Expand Down

0 comments on commit 10ad9ab

Please sign in to comment.