org.hibernate.test.sql.hand.query.NativeSQLQueriesTest failure on SAP/Sybase ASE

Description

Test failure - org.hibernate.test.sql.hand.query.NativeSQLQueriesTest on Sybase ASE 157 due to the fact that 'count' is reserved word. Enclosing count with double quotes helps resolve the issue.

builder.setQuery("select count AS count from organization");

builder.setQuery("select count AS \"count\" from organization");

Environment

None

Status

Assignee

Brett Meyer

Reporter

Mahesh Gadgil

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure