HHH-10451 - Fix Add table comment to 'create table...' statement

This commit is contained in:
Andrea Boriero 2016-01-25 17:29:57 +00:00
parent 8e32162cab
commit 43db914f0d

View File

@ -140,6 +140,11 @@ public String[] getSqlCreateStrings(Table table, Metadata metadata) {
applyTableCheck( table, buf );
buf.append( ')' );
if ( table.getComment() != null ) {
buf.append( dialect.getTableComment( table.getComment() ) );
}
applyTableTypeString( buf );
List<String> sqlStrings = new ArrayList<String>();