protected boolean checkTablesExist() throws SQLException, RepositoryException {
DatabaseMetaData metaData = connectionManager.getConnection().getMetaData();
String tableName = schemaObjectPrefix + "BUNDLE";
if (metaData.storesLowerCaseIdentifiers()) {
tableName = tableName.toLowerCase();
} else if (metaData.storesUpperCaseIdentifiers()) {
tableName = tableName.toUpperCase();
}
String userName = checkTablesWithUser() ? metaData.getUserName() : null;
ResultSet rs = metaData.getTables(null, userName, tableName, null);
try {