File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/spi Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,17 @@ private JdbcType jdbcElementType(
297
297
public boolean hasRegisteredDescriptor (int jdbcTypeCode ) {
298
298
return descriptorMap .containsKey ( jdbcTypeCode )
299
299
|| isStandardTypeCode ( jdbcTypeCode )
300
- || JdbcTypeFamilyInformation .INSTANCE .locateJdbcTypeFamilyByTypeCode ( jdbcTypeCode ) != null ;
300
+ || JdbcTypeFamilyInformation .INSTANCE .locateJdbcTypeFamilyByTypeCode ( jdbcTypeCode ) != null
301
+ || locateConstructedJdbcType ( jdbcTypeCode );
302
+ }
303
+
304
+ private boolean locateConstructedJdbcType (int jdbcTypeCode ) {
305
+ for ( TypeConstructedJdbcTypeKey key : typeConstructorDescriptorMap .keySet () ) {
306
+ if ( key .typeCode () == jdbcTypeCode ) {
307
+ return true ;
308
+ }
309
+ }
310
+ return false ;
301
311
}
302
312
303
313
public JdbcTypeConstructor getConstructor (int jdbcTypeCode ) {
You can’t perform that action at this time.
0 commit comments