Skip to content

Commit

Permalink
fix deprecated PostgreSQLDialect usage vladmihalcea#441
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeiKhmelevSPA committed Jun 3, 2022
1 parent b54dbba commit a40518a
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 a40518a

Please sign in to comment.