Appendix A Target Types
A JDBC URL is an address used by JDBC drivers to connect to a database or server. When you create connections in the Component Builder, you are prompted for information needed to derive the URL. The Generic connection type in the Component Builder allows you to enter an URL manually.
Different JDBC drivers have slightly different URL formats.
Figure 3-1 shows the Sybase
JDBC protocol and subprotocol
information contained in the URL:
The driver portion is always jdbc.
The protocol (in this case, sybase.Tds) specifies the JDBC driver and the native database protocol.
The host name and port number identify the machine that contains the database where the target stored procedures reside.
For Sybase, you can also specify a database name as part of the URL. For example:
jdbc:sybase:Tds:localhost:5000/dbase1
where the database name (dbase1) is appended to the URL.
Copyright © 2001 Sybase, Inc. All rights reserved. |
![]() |