From 4c7525d89e44e7d25360eecf2f5c6037622044e6 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Tue, 22 Mar 2016 17:42:45 +0000 Subject: [PATCH] HHH-10632 - Fix comment on column missing seperator between table name and column --- .../hibernate/tool/schema/internal/StandardTableExporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java b/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java index 7cdbadb9d2..4b5534203e 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java @@ -167,7 +167,7 @@ public class StandardTableExporter implements Exporter { Column column = (Column) iter.next(); String columnComment = column.getComment(); if ( columnComment != null ) { - sqlStrings.add( "comment on column " + tableName + column.getQuotedName( dialect ) + " is '" + columnComment + "'" ); + sqlStrings.add( "comment on column " + tableName + '.' + column.getQuotedName( dialect ) + " is '" + columnComment + "'" ); } } }