]
Fabrício Lemos commented on HHH-2066:
-------------------------------------
The default_catalog only solve this issue if your default is the same used in the table.
HSQL DB + multi-schema --> raised an exception (Problem to get an
increment key [select max(id) from table)
-----------------------------------------------------------------------------------------------------------
Key: HHH-2066
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2066
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.2.0.cr4
Environment: HSQL DB 1.8.x
Reporter: XOrangOutan
Original Estimate: 3 hours
Remaining Estimate: 3 hours
When trying to save an object that has an "incremental" primary key, Hibernate
API tries to know what the max current id is by executing a "SELECT MAX".
Though, in this particular sql query, schema name is not taken into account (in
hsqldialect). This cause an error that prevents anyone from carrying out unit tests.
This bug also exists on 3.x versions
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: