You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by David Van Couvering <Da...@Sun.COM> on 2005/07/12 23:51:10 UTC

VOTE: Connection toString() output, with examples

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)

Re: VOTE: Connection toString() output, with examples

Posted by "Dag H. Wanvik" <Da...@Sun.COM>.

>>>>> "DVC" == David Van Couvering <Da...@Sun.COM> wrote:
DVC> 
DVC> Hi, all.  I have received no votes on this in the past two days.  Does
DVC> this mean I should go ahead and implement this change?

I guess, this being open source, and no objections having been raised,
you should feel free to do it ;-) Looks like a clear improvement to
me.

+1

Dag

DVC> 
DVC> Thanks,
DVC> 
DVC> David
DVC> 
DVC> David Van Couvering wrote:
DVC> > Here is an adjusted proposal, taking into account Kathey's *and Dan's* 
DVC> > comments :)
DVC> > 
DVC> > [ ] VOTE on toString() format for Derby embedded connections
DVC> > 
DVC> > (a) Physical Connections, Pooled Connections (EmbedConnection, 
DVC> > EmbedConnection30, BrokeredConnection, BrokeredConnection30):
DVC> >      <classname>@<hashcode> (DATABASE = <dbname>), (SESSIONID = 
DVC> > <sessionid>), (DRDAID = <drdaid>), (XID = <xid>)
DVC> > 
DVC> > Example:  org.apache.derby.impl.jdbc.EmbedConnection30@13359324 
DVC> > (DATABASE = wombat), (SESSIONID = 1), (DRDAID = null), (XID = 105)
DVC> > 
DVC> > (b) Pooled Connections (EmbedPooledConnection, EmbedXAConnection):
DVC> >      <classname>@<hashcode> (ID=<uniqueid>), Physical 
DVC> > Connection=<underlying connection string>
DVC> > 
DVC> > Example: org.apache.derby.impl.jdbc.EmbedPooledConnection30@133457892 
DVC> > (ID=2), Physical Connection = 
DVC> > org.apache.derby.impl.jdbc.EmbedConnection30@13359324 (DATABASE = 
DVC> > wombat), (SESSIONID = 1), (DRDAID = null), (XID = 105)
DVC> > 
DVC> 
-- 
Dag H. Wanvik
Sun Microsystems, Web Services, Database Technology Group
Haakon VII gt. 7b, N-7485 Trondheim, Norway
Tel: x43496/+47 73842196, Fax:  +47 73842101

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

Re: VOTE: Connection toString() output, with examples

Posted by Kathey Marsden <km...@sbcglobal.net>.
David Van Couvering wrote:

>Hi, all.  I have received no votes on this in the past two days.  Does
>this mean I should go ahead and implement this change?
>
>Thanks,
>
>David
>
>David Van Couvering wrote:
>  
>
>>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)
>>
>>    
>>
>
>
>  
>
I vote +1 on this format.

DB project guidelines are here
http://db.apache.org/decisions.html



Re: VOTE: Connection toString() output, with examples

Posted by David Van Couvering <Da...@Sun.COM>.
Hi, all.  I have received no votes on this in the past two days.  Does
this mean I should go ahead and implement this change?

Thanks,

David

David Van Couvering wrote:
> 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)
>