Removed the sql field & cleaned up the table generator

This commit is contained in:
Mathias committed 2021-08-19 14:56:31 +02:00
1 parent 2d220c0211
commit bbf1232684
3 files changed
+59 -141

No files matched your search

@@ -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);
}
}