private String createKeyDefinition ( final List < FieldDefinition > keyDefinitionList ) { final StringBuilder sql = new StringBuilder ( ) ; sql . append ( " PRIMARY KEY" ) ; boolean isFirst = true ; for ( FieldDefinition fieldDefinition : keyDefinitionList ) { if ( isFirst ) { sql . append ( "(" ) ; isFirst = false ; } else { sql . append ( "," ) ; } sql . append ( fieldDefinition . getName ( ) ) ; } sql . append ( ")" ) ; return sql . toString ( ) ; }
the keyDefinitionList tableSql .