Skip to content

Commit

Permalink
#339 allTableNames in VendorDialect returns all tables from all datab…
Browse files Browse the repository at this point in the history
…ases?
  • Loading branch information
Tapac committed Jul 21, 2018
1 parent 7455fd9 commit 3491876
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ abstract class VendorDialect(override val name: String,
override fun allTablesNames(): List<String> {
val result = ArrayList<String>()
val tr = TransactionManager.current()
val resultSet = tr.db.metadata.getTables(null, null, "%", arrayOf("TABLE"))
val resultSet = tr.db.metadata.getTables(getDatabase(), null, "%", arrayOf("TABLE"))

while (resultSet.next()) {
result.add(resultSet.getString("TABLE_NAME").inProperCase)
Expand Down

0 comments on commit 3491876

Please sign in to comment.