You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using quarkus 3.9.3 with hibernate reactive. database is pg.
When I call createNativeQuery and the query table result contains field which type is json will cause NPE.
The reason I conducted a brief survey was
I'm using quarkus 3.9.3 with hibernate reactive. database is pg.
When I call createNativeQuery and the query table result contains field which type is json will cause NPE.
The reason I conducted a brief survey was
https://github.com/hibernate/hibernate-orm/blob/aae9b1e55d865d215070ee7d74ecc49593f83f4f/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/ResultSetAccess.java#L78-L99
columnTypeName
is from this method. it must be null.hibernate-reactive/hibernate-reactive-core/src/main/java/org/hibernate/reactive/adaptor/impl/ResultSetAdaptor.java
Lines 1352 to 1356 in a8e757f
and then call
resolveSqlTypeDescriptor
in PostgreSQLDialect. whenjdbcTypeCode
isOTHER
it will cause NPE becausecolumnTypeName
is nullhttps://github.com/hibernate/hibernate-orm/blob/aae9b1e55d865d215070ee7d74ecc49593f83f4f/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java#L308-L337
The text was updated successfully, but these errors were encountered: