-
Bug
-
Resolution: Done
-
Major
-
None
-
None
https://hibernate.atlassian.net/browse/HHH-11073
Hibernate converts a query like:
select cast( true as boolean ) ...
to SQL:
select cast ( 1 as bit ) ....
Instead, Hibernate should be converted to SQL:
select cast ( 1 as char ) ....
- clones
-
JBEAP-5815 [HHH-11073] Casting to boolean in query fails on MySQL
- Verified
- is incorporated by
-
JBEAP-4292 [GSS](7.0.z) Upgrade to Hibernate ORM 5.0.11.Final when available
- Verified
- relates to
-
JBEAP-4614 [GSS] (7.0.z) HHH-10757 HHH-9021 : "select new ..." with CAST( NULL AS ...) fails with QuerySyntaxException: unexpected AST node: NULL
- Verified