[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-3607) Adding primary key to TableGenerator causes problem on DB2

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Feb 10 12:19:38 EST 2009


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

Steve Ebersole closed HHH-3607.
-------------------------------

    Resolution: Duplicate

> Adding primary key to TableGenerator causes problem on DB2
> ----------------------------------------------------------
>
>                 Key: HHH-3607
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3607
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.1
>         Environment: hibernate 3.3.1.GA,
> Database server        = DB2/LINUXX8664 9.1.5
>            Reporter: Neale Swinnerton
>         Attachments: not-null.patch
>
>
> The change made in HHH-2686 to add a primary key to the generator table doesn't work on DB2, because there isn't a not null clause on the primary key column.
> attached patch adds the not null clause. I believe this should be portable across all DBs?

-- 
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