avoid output to stderr when opening new connection
This commit is contained in:
parent
8a00c456d8
commit
5d3214979b
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class DbSource {
|
||||||
con = DriverManager.getConnection (url, user, password);
|
con = DriverManager.getConnection (url, user, password);
|
||||||
// If we wanted to use SQL transactions, we'd set autoCommit to
|
// If we wanted to use SQL transactions, we'd set autoCommit to
|
||||||
// false here and make commit/rollback invocations in Transactor methods;
|
// false here and make commit/rollback invocations in Transactor methods;
|
||||||
System.err.println ("Created new Connection to "+url);
|
// System.err.println ("Created new Connection to "+url);
|
||||||
tx.registerConnection (this, con);
|
tx.registerConnection (this, con);
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
/* DatabaseMetaData meta = con.getMetaData ();
|
/* DatabaseMetaData meta = con.getMetaData ();
|
||||||
|
|
Loading…
Add table
Reference in a new issue