code: private boolean isSchemaValid() throws SQLException {
  		logger.entering(CLASSNAME, "isSchemaValid");
  		Connection conn = getConnectionToDefaultSchema();
  		DatabaseMetaData dbmd = conn.getMetaData();
  		ResultSet rs = dbmd.getSchemas();
  		while(rs.next()) {
  			if (schema.equalsIgnoreCase(rs.getString("TABLE_SCHEM")) ) {
  				cleanupConnection(conn, rs, null);
  				logger.exiting(CLASSNAME, "isSchemaValid", true);
  				return true;
  			}
  		}
  		cleanupConnection(conn, rs, null);
  		logger.exiting(CLASSNAME, "isSchemaValid", false);
  		return false;
  	}
docs: Checks if the default schema JBATCH or the schema defined in batch-config exists.
  
  @return true if the schema exists, false otherwise.
  @throws SQLException