Log more information if we fail to establish our database connection.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1458 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2004-07-07 10:17:36 +00:00
parent 5e2728e0c8
commit ad4609fe76
@@ -160,7 +160,8 @@ public class StaticConnectionProvider implements ConnectionProvider
conn = DriverManager.getConnection(url, username, password);
} catch (SQLException sqe) {
err = "Error creating database connection " +
"[ident=" + ident + "].";
"[ident=" + ident + ", driver=" + driver + ", url=" + url +
", username=" + username + "].";
throw new PersistenceException(err, sqe);
}