[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-3519) VM-based, timestamps are not generated for DB2

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Oct 8 18:28:05 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole reassigned HHH-3519:
-----------------------------------

    Assignee: Steve Ebersole  (was: Gail Badner)

> 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.2.6, 3.3.1
>            Reporter: Gail Badner
>            Assignee: Steve Ebersole
>             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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list