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 static IConnectionProfile loadProfileFromProperties( Properties connProperties ) 
        throws OdaException
    {
        
        
        
        
        IConnectionProfile dbProfile =  OdaProfileExplorer.getInstance()
                                            .getProfileByName( connProperties, null );
        if( dbProfile != null )
            return dbProfile;   
        
        
        return createTransientProfile( connProperties );
    }
    
    private static IConnectionProfile createTransientProfile( Properties connProperties ) 
        throws OdaException
    {
        Properties profileProps = PropertyAdapter.adaptToDbProfilePropertyNames( connProperties );
        
        return OdaProfileFactory.createTransientProfile( profileProps );
    }
    
	/*
	 * @see org.eclipse.datatools.connectivity.oda.IConnection#close()
	 */
	public void close() throws OdaException
	{