[FIX] congig in config
This commit is contained in:
parent
a7c9bb5e1b
commit
ca18d3759d
@ -158,7 +158,7 @@ public class DBAccessSQL extends DBAccess {
|
|||||||
} else {
|
} else {
|
||||||
// TODO : Maybe connect with a temporary not specified connection interface to a db ...
|
// TODO : Maybe connect with a temporary not specified connection interface to a db ...
|
||||||
final PreparedStatement ps = this.db.getConnection()
|
final PreparedStatement ps = this.db.getConnection()
|
||||||
.prepareStatement("SHOW TABLES IN `" + this.db.getCongig().getDbName() + "`");
|
.prepareStatement("SHOW TABLES IN `" + this.db.getConfig().getDbName() + "`");
|
||||||
final ResultSet rs = ps.executeQuery();
|
final ResultSet rs = ps.executeQuery();
|
||||||
// LOGGER.info("List all tables: equals? '{}'", name);
|
// LOGGER.info("List all tables: equals? '{}'", name);
|
||||||
while (rs.next()) {
|
while (rs.next()) {
|
||||||
|
@ -76,7 +76,7 @@ public abstract class DbIo implements Closeable {
|
|||||||
return this.config.equals(config);
|
return this.config.equals(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
public DbConfig getCongig() {
|
public DbConfig getConfig() {
|
||||||
return this.config;
|
return this.config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user