Skip to content

Commit

Permalink
HHH-3650 : PK column from TableGenerator needs explicit not null for …
Browse files Browse the repository at this point in the history
…silly DBs

git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_2@15929 1b8cb986-b30d-0410-93ca-fae66ebed9b2
  • Loading branch information
sebersole committed Feb 10, 2009
1 parent 4524288 commit c653b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/hibernate/id/enhanced/TableGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ public String[] sqlCreateStrings(Dialect dialect) throws HibernateException {
.append( segmentColumnName )
.append( ' ' )
.append( dialect.getTypeName( Types.VARCHAR, segmentValueLength, 0, 0 ) )
.append( ", " )
.append( " not null, " )
.append( valueColumnName )
.append( ' ' )
.append( dialect.getTypeName( Types.BIGINT ) )
Expand Down

0 comments on commit c653b95

Please sign in to comment.