2 messages in com.mysql.lists.javaRe: JDBC - MYSQL & ORACLE URI Parsing...| From | Sent On | Attachments |
|---|---|---|
| Jeffrey Porter | 11 Apr 2001 05:33 | |
| Mark Matthews | 11 Apr 2001 05:37 |
| Subject: | Re: JDBC - MYSQL & ORACLE URI Parsing....![]() |
|---|---|
| From: | Mark Matthews (mmat...@thematthews.org) |
| Date: | 04/11/2001 05:37:56 AM |
| List: | com.mysql.lists.java |
JDBC specifies no standards for URLs beyond jdbc:[vendor_name]:
MM.MySQL only supports the URL format that you show (many other drivers use the same format....DB2 and Oracle are the exceptions to the rule).
Why do you want to parse the URL?
-Mark
----- Original Message ----- From: "Jeffrey Porter" <je...@metadyne.uk.com> To: <ja...@lists.mysql.com> Sent: Wednesday, April 11, 2001 7:33 AM Subject: JDBC - MYSQL & ORACLE URI Parsing....
I have two URI's, as shown below.
The URI for mysql (MM-JDBC), is different from that of the ORACLE URI, as in the layout.
Does anyone know if MM-JDBC supports identical URI layout to that of
the URI passed to a oracle.jdbc.driver.OracleDriver?
If not I'm going to have to write a different parser for each type of URI, ergh.
Thanks.
JP
String testUriA = "jdbc:oracle:thin:username/pa...@oradev.metadyne.uk.com:1021:oradev"; String testUriB = "jdbc:mysql://chef.metadyne.com:3000/adk?user=username&password=test";
-- .........if in doubt, get a hammock
----------------------------------------------------------------------------
----
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail java...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail java...@lists.mysql.com instead.




