Suhhoruki Mihhail (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5ca46c8...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMDBkZTY1OTQz...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16696?atlOrigin=eyJpIjoiMDBkZT...
) HHH-16696 (
https://hibernate.atlassian.net/browse/HHH-16696?atlOrigin=eyJpIjoiMDBkZT...
) hibernate-core >= 6.2.0 stopped invoking
PostgreSQLDialect.initializeFunctionRegistry(QueryEngine) (
https://hibernate.atlassian.net/browse/HHH-16696?atlOrigin=eyJpIjoiMDBkZT...
)
Issue Type: Bug Affects Versions: 6.2.0 Assignee: Unassigned Components: hibernate-core
Created: 25/May/2023 08:32 AM Priority: Major Reporter: Suhhoruki Mihhail (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5ca46c8...
)
Using custom dialect extending PostgreSQLDialect and configured with
hibernate.dialect: com.xyz.repository.CustomPostgresqlDialect
hibernate-core starting with 6.2.0 stopped invoking initializeFunctionRegistry:
custom dialect:
public class CustomPostgresqlDialect extends PostgreSQLDialect {
public CustomPostgresqlDialect() {
super(DatabaseVersion.make(14, 4));
}
public CustomPostgresqlDialect(DialectResolutionInfo info) {
super(info);
}
public CustomPostgresqlDialect(DatabaseVersion version) {
super(version);
}
public CustomPostgresqlDialect(DatabaseVersion version, PostgreSQLDriverKind
driverKind) {
super(version);
}
@Override
public void initializeFunctionRegistry(QueryEngine queryEngine) {
super.initializeFunctionRegistry(queryEngine);
queryEngine.getSqmFunctionRegistry().register(PostgresqlJsonArrayFunction.NAME, new
PostgresqlJsonArrayFunction());
}
}
(
https://hibernate.atlassian.net/browse/HHH-16696#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16696#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:0428b75 )