dbUrl, dbUserName, dbPassword) : DriverManager.getConnection(dbUrl));
if (readOnly) // set this feature only if it asked
conn.setReadOnly(readOnly);
return monitorInterest == 0 ? conn : new ManagedConnection(conn, monitorInterest);
}
catch (SQLException e)
{
String err =
"Error of JDBC connection open. SQLException: " + e.getMessage() + ", SQLState: " + e.getSQLState()