Bug 319902 Internal API Usage of the ODA framework components
data/org.eclipse.birt.report.data.oda.jdbc.dbprofile/src/org/eclipse/birt/report/data/oda/jdbc/dbprofile/impl/Connection.java
*/
	public void open( Properties connProperties ) throws OdaException
	{
	    OdaException originalEx = null;
	    try
        {
	        
	        IConnectionProfile dbProfile = getProfile( connProperties );
            open( dbProfile );
        }
        catch( OdaException ex )
        {
            
            sm_logger.logp( Level.WARNING, sm_className, "open(Properties)",  
                    Messages.connection_openFailed, ex );
            originalEx = ex;
        }
        
        
        try
        {
            if( ! isOpen() )  
                openJdbcConnection( connProperties );
        }
        catch( OdaException ex )
        {
            
            if( originalEx != null )
                throw originalEx;
            throw new OdaException( Messages.connection_openFailed );