Bug 319902 Internal API Usage of the ODA framework components
data/org.eclipse.birt.report.data.oda.jdbc.dbprofile.ui/src/org/eclipse/birt/report/data/oda/jdbc/dbprofile/ui/internal/sqb/SQLQueryUtility.java
String queryText = dataSetDesign.getQueryText();
        IQuery query = conn.newQuery( null );
        query.prepare( queryText );     
                
        try
        {
            IResultSetMetaData md = query.getMetaData();
            updateResultSetDesign( dataSetDesign, md, queryStmt );
        }
        catch( OdaException e )
        {
            
            dataSetDesign.setResultSets( null );
            e.printStackTrace();
        }
        
        
        
        updateParameterDesign( dataSetDesign, queryStmt );
    }
    /**
     * Returns the SQL query text ready for prepare by a JDBC driver.
     * @param queryStmt
     * @return
     */
    static String getPreparableSQL( final QueryStatement queryStmt )
    {
        if( queryStmt == null )
            return null;
        QueryStatement queryStmtCopy = copyQueryStatement( queryStmt );