users@glassfish.java.net

Re: asadmin and long Oracle connection strings - what to escape?

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Dec 2009 03:32:05 PST

AFAIK oracle connection Strings are of two types.
Either
jdbc:oracle:thin:[user/password]@[host][:port]:SID
or
jdbc:oracle:thin:[user/password]@//[host][:port]/SID

A typical connection url would be like this:

jdbc:oracle:thin:@hostname.com:1521:dbname

with the user and password given as different parameters.
[Message sent by forum member 'komarios' ]

http://forums.java.net/jive/thread.jspa?messageID=375116