Skip to content

Commit 8671af8

Browse files
committed
[#1548] Map column type bytea as Type.VARBINARY
For schema validation
1 parent 9c2188a commit 8671af8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/provider/service/PostgreSqlReactiveInformationExtractorImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ protected int dataTypeCode(String typeName) {
160160
return Types.BIGINT;
161161
case "timestamptz":
162162
return SqlTypes.TIMESTAMP_UTC;
163+
case "bytea":
164+
return Types.VARBINARY;
163165
default:
164166
return 0;
165167
}

0 commit comments

Comments
 (0)