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
public class SQLQueryUtility
{
	private static final String EMPTY_STRING = ""; $NON-NLS-1$
	private static final String PROP_PRIVATE_PARAMETERMETADATA = DBProfileStatement.PROP_PRIVATE_PARAMETERMETADATA;
	private static final String CONST_PARAMS_DELIMITER = DBProfileStatement.CONST_PARAMS_DELIMITER;
	private static final String CONST_PARAM_NAME_DELIMITER = DBProfileStatement.CONST_PARAM_NAME_DELIMITER;
	private static final String CLASS_NAME = SQLQueryUtility.class.getName();
    static void updateDataSetDesign( DataSetDesign dataSetDesign, 
            final QueryStatement queryStmt, IConnectionProfile connProfile, String dataSetName )
    {
    	if ( dataSetName != null )
    		dataSetDesign.setName( dataSetName );
         initialize
        dataSetDesign.setQueryText( EMPTY_STRING );
        
        
        boolean wasProfileConnected = ( connProfile.getConnectionState() == IConnectionProfile.CONNECTED_STATE );
        IConnection customConn = null;
        try
        {
            
            IDriver customDriver = new Driver();