|
|
@ -76,7 +76,7 @@ public class ConectionDB { |
|
|
int max = 0; |
|
|
int max = 0; |
|
|
try { |
|
|
try { |
|
|
final DatabaseMetaData metaData = this.currentConection.getMetaData(); |
|
|
final DatabaseMetaData metaData = this.currentConection.getMetaData(); |
|
|
final ResultSet res = metaData.getTables(null, null, null, |
|
|
final ResultSet res = metaData.getTables(null, null, "", |
|
|
new String[]{"TABLE"}); |
|
|
new String[]{"TABLE"}); |
|
|
while (res.next()) { |
|
|
while (res.next()) { |
|
|
if (res.getString("TABLE_NAME").compareTo("Versions") == 0) { |
|
|
if (res.getString("TABLE_NAME").compareTo("Versions") == 0) { |
|
|
|