Connection string log messages

2005-07-13 Thread Craig Russell
Hi David,My only issue is with the term "Physical Connection".Connections are logical, not physical. Ethernet cables, adapters, wires, RAM, disk drives are physical. Ports, sockets, connections, database tables and columns are logical.I really don't like using physical to describe the lowest level of connection. Isn't there another term that conveys the correct information, like Hard Connection, or Socket Connection, Port Connection, or simply Connection?CraigHere 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:  [EMAIL PROTECTED] (DATABASE = wombat), (SESSIONID = 1), (DRDAID = null), (XID = 105)(b) Pooled Connections (EmbedPooledConnection, EmbedXAConnection):    classname@hashcode (ID=uniqueid), Physical Connection=underlying connection stringExample: [EMAIL PROTECTED] (ID=2), Physical Connection = [EMAIL PROTECTED] (DATABASE = wombat), (SESSIONID = 1), (DRDAID = null), (XID = 105) Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!  

smime.p7s
Description: S/MIME cryptographic signature


Re: Connection string log messages

2005-07-13 Thread Daniel John Debrunner
Craig Russell wrote:

 Hi David,
 
 My only issue is with the term Physical Connection.
 
 Connections are logical, not physical. Ethernet cables, adapters, wires,
 RAM, disk drives are physical. Ports, sockets, connections, database
 tables and columns are logical.
 
 I really don't like using physical to describe the lowest level of
 connection. Isn't there another term that conveys the correct
 information, like Hard Connection, or Socket Connection, Port
 Connection, or simply Connection?

'physical connection' is the term used by the JDBC 3.0 spec, so I think
it is the correct term to use here. In the embedded case the physical
connection does not use a socket or a port so using such terms would be
misleading.

Dan.



Re: Connection string log messages

2005-07-13 Thread David Van Couvering
I don't need to use the term; I can just call it a Connection.   This 
doesn't really impact the resulting code, just what we put into the 
comments and the JIRA bug.


BTW, if you want to get picky, nothing is physical -- from the 
perspective of quantum physics, it's all a mass of probability.  :)


David

Craig Russell wrote:


Hi David,

My only issue is with the term Physical Connection.

Connections are logical, not physical. Ethernet cables, adapters, wires, 
RAM, disk drives are physical. Ports, sockets, connections, database 
tables and columns are logical.


I really don't like using physical to describe the lowest level of 
connection. Isn't there another term that conveys the correct 
information, like Hard Connection, or Socket Connection, Port 
Connection, or simply Connection?


Craig

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:  [EMAIL PROTECTED] 
(DATABASE = wombat), (SESSIONID = 1), (DRDAID = null), (XID = 105)


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


Example: [EMAIL PROTECTED] 
(ID=2), Physical Connection = 
[EMAIL PROTECTED] (DATABASE = 
wombat), (SESSIONID = 1), (DRDAID = null), (XID = 105)




Craig Russell

Architect, Sun Java Enterprise System http://java.sun.com/products/jdo

408 276-5638 mailto:[EMAIL PROTECTED]

P.S. A good JDO? O, Gasp!




Re: Connection string log messages

2005-07-13 Thread Craig Russell
Hi David,I don't need to use the term; I can just call it a "Connection".   This doesn't really impact the resulting code, just what we put into the comments and the JIRA bug.I understand. Perhaps it would be more useful to avoid "physical" and use either Embedded or Network, as in "Network Connection" and "Embedded Connection".BTW, if you want to get picky, nothing is "physical" -- from the perspective of quantum physics, it's all a mass of probability.  :)The point is that I am picky about terms. :-) And let me know next time you stub your toe on a bit of probability...CraigDavid Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!  

smime.p7s
Description: S/MIME cryptographic signature