Skip to content

Commit

Permalink
fix deprecated PostgreSQLDialect usage #441
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeiKhmelevSPA authored and vladmihalcea committed Jun 3, 2022
1 parent b54dbba commit 11fdc2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -30,7 +30,7 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
JdbcServices jdbcServices = serviceRegistry.getService(JdbcServices.class);
Dialect dialect = jdbcServices.getDialect();

if(dialect instanceof PostgreSQLDialect) {
if(dialect instanceof PostgreSQL82Dialect) {
/* Arrays */
this
.contributeType(typeContributions, BooleanArrayType.INSTANCE)
Expand Down
Expand Up @@ -31,7 +31,7 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
JdbcServices jdbcServices = serviceRegistry.getService(JdbcServices.class);
Dialect dialect = jdbcServices.getDialect();

if(dialect instanceof PostgreSQLDialect) {
if(dialect instanceof PostgreSQL82Dialect) {
/* Arrays */
this
.contributeType(typeContributions, BooleanArrayType.INSTANCE)
Expand Down
Expand Up @@ -31,7 +31,7 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
JdbcServices jdbcServices = serviceRegistry.getService(JdbcServices.class);
Dialect dialect = jdbcServices.getDialect();

if(dialect instanceof PostgreSQLDialect) {
if(dialect instanceof PostgreSQL82Dialect) {
/* Arrays */
this
.contributeType(typeContributions, BooleanArrayType.INSTANCE)
Expand Down

0 comments on commit 11fdc2e

Please sign in to comment.