resultmd=null; } catch(SQLException e) {
	public IResultSetMetaData getMetaData( ) throws OdaException	{		logger.logp( java.util.logging.Level.FINE,				Statement.class.getName( ),				"getMetaData",				"Statement.getMetaData( )" );				assertNotNull( preStat );	    java.sql.ResultSetMetaData resultmd = null;		try		{			/* redirect the call to JDBC preparedStatement.getMetaData() */			resultmd = preStat.getMetaData( );		}		catch (NullPointerException e )		{		  resultmd=null;		}		catch(SQLException e)		{			// For some database, meta data of table can not be obtained 			// in prepared time. To solve this problem, query execution is			// required to be executed first.		}		IResultSetMetaData pstmtResultMetaData = null;		if ( resultmd != null )		{			pstmtResultMetaData = new ResultSetMetaData( resultmd );		}		else		{			// If Jdbc driver throw an SQLexception or return null, when we get			// MetaData from ResultSet			IResultSet mdRs = executeQuery( );			if ( mdRs != null )			    pstmtResultMetaData = mdRs.getMetaData( );		}		return pstmtResultMetaData;	}