File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC URLs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC URLs" Watch "JDBC URLs" New topic


RajivAwadhesh kumar

Joined: May 20, 2011
Posts: 24
What is the use of JDBC URLs? what is the rationale behind it?
Aniket S. Kulkarni
Ranch Hand

Joined: Jun 15, 2011
Posts: 87

When using the Java runtime engine, databases are referenced using JDBC URLs. The syntax of these URLs depends on the database driver you are using.

The below links may help you:


JDBC URLs : This link is very useful.

Aniket Kulkarni
Oracle Certified Professional, Java SE 6 Programmer.
steve davis

Joined: Oct 20, 2011
Posts: 3
> According to RFC-1738, section 5, a generic URL has the format

That RFC has been superseded.
> This document defines the generic syntax of URI,
> including both absolute and relative forms, and
> guidelines for their use; it revises and
> replaces the generic definitions in RFC 1738 and RFC 1808.

I agree. Here's the link:
subject: JDBC URLs
It's not a secret anymore!