|
|
@ -63,7 +63,9 @@ public class PrimaryKey extends Constraint { |
|
|
|
StringBuilder buf = new StringBuilder(dialect.getPrimaryKeyString(columnList)).append(" ("); |
|
|
|
StringBuilder buf = new StringBuilder(dialect.getPrimaryKeyString(columnList)).append(" ("); |
|
|
|
Iterator iter = getColumnIterator(); |
|
|
|
Iterator iter = getColumnIterator(); |
|
|
|
while ( iter.hasNext() ) { |
|
|
|
while ( iter.hasNext() ) { |
|
|
|
buf.append( ( (Column) iter.next() ).getQuotedName(dialect) ); |
|
|
|
Column column = (Column) iter.next(); |
|
|
|
|
|
|
|
buf.append( column.getQuotedName(dialect) ); |
|
|
|
|
|
|
|
buf.append( dialect.getPrimaryKeyPostfix(column) ); |
|
|
|
if ( iter.hasNext() ) { |
|
|
|
if ( iter.hasNext() ) { |
|
|
|
buf.append(", "); |
|
|
|
buf.append(", "); |
|
|
|
} |
|
|
|
} |
|
|
|