Removed the sql field & cleaned up the table generator

This commit is contained in:
2021-08-19 14:56:31 +02:00
parent 2d220c0211
commit bbf1232684
3 changed files with 59 additions and 141 deletions

View File

@ -188,7 +188,7 @@ public class UpdateManager {
* @return the de.gnmyt.SQLToolkit.generator
*/
public TableGenerator generateTable(String tableName) {
return new TableGenerator(this, tableName);
return new TableGenerator(this.getConnection(), tableName);
}
/**
@ -196,7 +196,7 @@ public class UpdateManager {
* @return the de.gnmyt.SQLToolkit.generator
*/
public TableGenerator generateTable() {
return (tableName.isEmpty()) ? null : new TableGenerator(this, tableName);
return (tableName.isEmpty()) ? null : new TableGenerator(this.getConnection(), tableName);
}
}