diff --git a/hibernate-reactive-core/src/main/java/org/hibernate/reactive/provider/service/PostgreSqlReactiveInformationExtractorImpl.java b/hibernate-reactive-core/src/main/java/org/hibernate/reactive/provider/service/PostgreSqlReactiveInformationExtractorImpl.java index b041e78e4f..d6bcb00a34 100644 --- a/hibernate-reactive-core/src/main/java/org/hibernate/reactive/provider/service/PostgreSqlReactiveInformationExtractorImpl.java +++ b/hibernate-reactive-core/src/main/java/org/hibernate/reactive/provider/service/PostgreSqlReactiveInformationExtractorImpl.java @@ -141,7 +141,7 @@ protected T processImportedKeysResultSet( @Override protected int dataTypeCode(String typeName) { - // Copied from PostgreSQLDialect. + // Copied from PostgreSQLDialect.resolveSqlTypeCode // Not ideal, but it should work for now // It would be nice to be able to get the correct code some way switch ( typeName ) { @@ -162,6 +162,11 @@ protected int dataTypeCode(String typeName) { return SqlTypes.TIMESTAMP_UTC; case "bytea": return Types.VARBINARY; + case "_numeric": + case "_bool": + case "_int8": + case "_varchar": + return Types.ARRAY; default: return 0; }