Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] fix for 220937: core: Switch from DriverManager to Driver.connect() should log No Suitable Driver SQLException only once

Everyone,
    The following eclipselink.foundation change has been checked in.
 
 
    Details:
       When the DriverManager.connect fails and we attempt a direct connect using sql.Driver.connect() we should only throw the first DriverManager SQLException once and not throw it on subsequent reconnect attemps.  A flag is set on DefaultConnect to save state on success of the 2nd level direct connect only when the 1st level DriverManager fails.
    Code Reviewed by:
        Gordon
 
    thank you
    /michael

Back to the top