code: public boolean exists(String tableName)
  	{
  		boolean bReturn = false;
  
  		if (tableName == null) return bReturn;
  		PreparedStatement checkTable = null;
  		try
  		{
  			//System.out.println("DBUtility: looking up table: " + tableName);
  			//System.out.println("Select * from " + tableName + " where 1=0");
  			checkTable = m_connection.prepareStatement("Select * from " + tableName + " where 1=0");
  			checkTable.executeQuery();
  			bReturn = true;
  		}
  		catch(Exception e)
  		{
  			if (e.getMessage().startsWith(m_ORA_EXCEPTION_1000) || e.getMessage().startsWith(m_ORA_EXCEPTION_604))
  			{
  				System.out.println("Exceeded available Oracle cursors.  Resetting connection and trying the SQL statement again...");
  				resetConnection();
  				return exists(tableName);
  			}
  			else
  			{
  				//System.out.println("DD - " + e.getMessage());
  				bReturn = false;	
  			}
  		}
  	
  		return bReturn;
  	}
docs: Checks the database for the existence of this table.  Returns true if it
  exists, false if it doesn't exist, and throws a SQLException if the
  connection is not established.  NOTE: If a schema is required for your
  database, then it should have been provided in the connection url.
  
  @param 	tableName	String name of the table that you want check for existence.
  @return boolean		true if the table exists, false if it doesn't exist.