diff options
-rw-r--r-- | forms/qa/integration/forms/ListBox.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/forms/qa/integration/forms/ListBox.java b/forms/qa/integration/forms/ListBox.java index 1d1275127e82..b4412a0975c4 100644 --- a/forms/qa/integration/forms/ListBox.java +++ b/forms/qa/integration/forms/ListBox.java @@ -229,7 +229,9 @@ public class ListBox extends TestCase } // create the table taking all those foreign keys - m_database.createTable( new HsqlTableDescriptor( m_foreignKeyTableName, foreignKeyColumns.toArray( new HsqlColumnDescriptor[0] ) ) ); + m_database.createTable( new HsqlTableDescriptor( + m_foreignKeyTableName, + foreignKeyColumns.toArray( new HsqlColumnDescriptor[foreignKeyColumns.size()] ) ) ); // fill in some data foreignKeyInsertSQL.append( ")" ); XPreparedStatement statement = connection.prepareStatement( foreignKeyInsertSQL.toString() ); |