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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira