BF [ 2611471 ] Synchronize column fails for new table with virtual column
https://sourceforge.net/tracker/index.php?func=detail&aid=2611471&group_id=176962&atid=879332
This commit is contained in:
parent
e7a103b84a
commit
df09d1db0b
|
@ -707,10 +707,16 @@ public class MTable extends X_AD_Table
|
|||
getColumns(true);
|
||||
for (int i = 0; i < m_columns.length; i++)
|
||||
{
|
||||
if (i > 0)
|
||||
sb.append(", ");
|
||||
MColumn column = m_columns[i];
|
||||
sb.append(column.getSQLDDL());
|
||||
String colSQL = column.getSQLDDL();
|
||||
if ( colSQL != null )
|
||||
{
|
||||
if (i > 0)
|
||||
sb.append(", ");
|
||||
sb.append(column.getSQLDDL());
|
||||
}
|
||||
else // virtual column
|
||||
continue;
|
||||
//
|
||||
if (column.isKey())
|
||||
hasPK = true;
|
||||
|
|
Loading…
Reference in New Issue