[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3283?page=c...
]
Gail Badner reopened HHH-3283:
------------------------------
Assignee: Gail Badner (was: Steve Ebersole)
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.
protect BulkManipulationTest#testInsertWithGeneratedTimestampVersion
where Dialect#supportsParametersInInsertSelect == false
----------------------------------------------------------------------------------------------------------------------------
Key: HHH-3283
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3283
Project: Hibernate Core
Issue Type: Improvement
Components: testsuite
Reporter: Steve Ebersole
Assignee: Gail Badner
Fix For: 3.2.x, 3.3.0.CR2
Because the timestamp there is vm-based, that particular test is hosed if the
dialect/jdbc-driver does not support defining parameters in the INSERT ... SELECT
statement.
--
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