Macromedia dreamweaver 8-using dreamweaver Benutzerhandbuch

Seite von 1030
634
Chapter 27:  Database Connections for JSP Developers
JDBC connection parameters 
When you create a JSP database connection in Dreamweaver, you usually need to enter JDBC 
connection parameters (see 
). JDBC 
connections usually consist of four parameters: the driver, user name, password, and URL 
(which specifies the location of the database). Generally, the values of the driver parameter 
and the URL parameter depend on the driver.
This section shows how to define connection parameters in Dreamweaver using the Oracle 
Thin JDBC driver as an example. For the connection parameters of other drivers, consult the 
driver vendor’s documentation.
The Oracle Thin JDBC driver supports Oracle databases. If you want to use this driver 
to connect to your Oracle database, click the Plus (+) button on the Databases panel and 
select the Oracle Thin Driver (Oracle) driver from the pop-up menu. The following, 
partially-complete dialog box appears: 
Enter a connection name and replace the placeholders (in square brackets) with valid 
connection parameters. For the 
[hostname]
 placeholder, enter the IP address or the name 
assigned to the database server by the system administrator. For the 
[sid]
 placeholder, enter 
the database system identifier. If you have more than one Oracle database running on the 
same system, you use the SID to tell them apart.