Informix plural attribute size function support

Description

Starting from version 6, Hibernate has changed the generated SQL for the plural attribute size function. Unfortunately, it uses the count(1) function, which is not supported in older versions of Informix. I am providing the documentation only in text form without an online link, as it can only be accessed in PDF format.

Support for arguments is now better for newer versions of Informix, even with this function and with online documentation.

For example unit test


with hql query


in Hibernate 6 generate SQL

in Hibernate 5.6 generate SQL

There is syntax error with Informix 11.50

Another example of unit test where size function is used.


HQL query

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Worked in

Components

Fix versions

Affects versions

Priority

Created May 24, 2024 at 5:32 PM
Updated June 14, 2024 at 3:07 PM
Resolved May 27, 2024 at 1:56 PM