Martin Simka (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNmU3MzUxNjUz...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16270?atlOrigin=eyJpIjoiNmU3Mz...
) HHH-16270 (
https://hibernate.atlassian.net/browse/HHH-16270?atlOrigin=eyJpIjoiNmU3Mz...
) ASTParserLoadingTest fails on Sybase with JZ0SL: Unsupported SQL type 0 (
https://hibernate.atlassian.net/browse/HHH-16270?atlOrigin=eyJpIjoiNmU3Mz...
)
Issue Type: Bug Affects Versions: 6.2.0.CR3 Assignee: Unassigned Components: testsuite
Created: 08/Mar/2023 08:15 AM Environment: Hibernate ORM 6.2.0.CR3 + Sybase 16.0 + Sybase
JDBC driver (jConnect (TM) for JDBC(TM)/16.0 SP04 PL03 (Build 27544) + extra connection
parameters: `SQLINITSTRING=set quoted_identifier on&SQLINITSTRING=set ansinull on`
Priority: Major Reporter: Martin Simka (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
org.hibernate.orm.test.hql.ASTParserLoadingTest.testComponentNullnessChecks
org.hibernate.orm.test.hql.ASTParserLoadingTest.testMultipleRefsToSameParam
Both tests try to use null a parameter value
s.createQuery( query ).setParameter( 1, null )
Which results in
java.io.IOException: JZ0SL: Unsupported SQL type 0.
changing null to string "null" in tests seems to fix failure (just experiment, I
have no idea what would be correct fix)
(
https://hibernate.atlassian.net/browse/HHH-16270#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16270#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#100217- sha1:c17c655 )