Martin Simka (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZjdkZDU0MmMw...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16345?atlOrigin=eyJpIjoiZjdkZD...
) HHH-16345 (
https://hibernate.atlassian.net/browse/HHH-16345?atlOrigin=eyJpIjoiZjdkZD...
) PostgreSQL*ProcedureTest.testProcedureWithJDBCByName fails with EnterpriseDB (
https://hibernate.atlassian.net/browse/HHH-16345?atlOrigin=eyJpIjoiZjdkZD...
)
Issue Type: Bug Assignee: Unassigned Components: testsuite Created: 21/Mar/2023 07:48 AM
Environment: Hibernate ORM 6.2.0.CR4 + EnterpriseDB 14.4 + EDB JDBC Connector 42.5.0.1 +
extra connection parameters:
`preparedStatementCacheQueries=0&escapeSyntaxCallMode=callIfNoReturn` Priority: Major
Reporter: Martin Simka (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
PostgreSQLStoredProcedureTest.testProcedureWithJDBCByName
PostgreSQLFunctionProcedureTest.testFunctionWithJDBCByName
fail with similar error using named parameters:
java.lang.AssertionError: expected:<class java.sql.SQLFeatureNotSupportedException>
but was:<class com.edb.util.PSQLException>
while PostgreSQLFunctionProcedureTest could by fixed by referencing parameters in query
sp_count_phones(?,?) → call sp_count_phones(phoneCount=>?,personId=>?)
I didn’t find a similar syntax for PostgreSQLFunctionProcedureTest.
(
https://hibernate.atlassian.net/browse/HHH-16345#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16345#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#100218- sha1:518c67a )