VM-based,timestamps are not generated for DB2
----------------------------------------------
Key: HHH-3519
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3519
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.3.1, 3.2.6
Reporter: Gail Badner
Assignee: Gail Badner
Fix For: 3.2.x, 3.3.x
DB2 does not support an untyped parameter in INSERT INTO ... SELECT ... ? ... ; however,
DB2 will support a parameter if it is cast as an appropriate data type.
For example:
INSERT INTO ... SELECT ... CAST(? AS TIMESTAMP) ... .
Since Hibernate modifies insert SQL to update timestamps, this really needs to be fixed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira