mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-03 08:19:15 +00:00
HHH-10451 - Fix Add table comment to 'create table...' statement
This commit is contained in:
parent
8e32162cab
commit
43db914f0d
@ -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>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user