db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Van Couvering <David.Vancouver...@Sun.COM>
Subject VOTE: Connection toString() output, with examples
Date Tue, 12 Jul 2005 21:51:10 GMT
Here is an adjusted proposal, taking into account Kathey's *and Dan's* 
comments :)

[ ] VOTE on toString() format for Derby embedded connections

(a) Physical Connections, Pooled Connections (EmbedConnection, 
EmbedConnection30, BrokeredConnection, BrokeredConnection30):
     <classname>@<hashcode> (DATABASE = <dbname>), (SESSIONID = 
<sessionid>), (DRDAID = <drdaid>), (XID = <xid>)

Example:  org.apache.derby.impl.jdbc.EmbedConnection30@13359324 
(DATABASE = wombat), (SESSIONID = 1), (DRDAID = null), (XID = 105)

(b) Pooled Connections (EmbedPooledConnection, EmbedXAConnection):
     <classname>@<hashcode> (ID=<uniqueid>), Physical 
Connection=<underlying connection string>

Example: org.apache.derby.impl.jdbc.EmbedPooledConnection30@133457892 
(ID=2), Physical Connection = 
org.apache.derby.impl.jdbc.EmbedConnection30@13359324 (DATABASE = 
wombat), (SESSIONID = 1), (DRDAID = null), (XID = 105)

Mime
View raw message