JDBC Uniform Resource Locators (URLs) – Querying Data from Databases
6.3.3.2 JDBC Uniform Resource Locators (URLs) A JDBC url provides all information for applications to access a special resource, such as a data-base. Generally, a url contains three parts: protocol name, sub-protocol and subname for the data-base to be connected. Each of these three segments has a different function when they work together to provide unique information for the target database. The syntax for a JDBC url can be presented as: protocol:sub-protocol:subname The protocol name works as an identifier to show what kind of protocol should be adopted when connecting to the desired database. For a JDBC driver, the name of the protocol should beRead More →