MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 75

Dreamweaver api reference
Table of Contents

Advertisement

Example
The code
var connectionString = MMDB.getConnectionString ("EmpDB")
different strings for an ADO or JDBC connection.
For an ADO connection, the following string can return:
"dsn=EmpDB;uid=;pwd=";
For a JDBC connection, the following string can return:
"jdbc:inetdae:192.168.64.49:1433?database=pubs&user=JoeUser&¬
password=joesSecret"
MMDB.getDriverName()
Availability
Dreamweaver UltraDev 1.
Description
This function gets the driver name that is associated with the specified connection. Only a
JDBC connection has a driver name.
Arguments
connName
The
argument is a connection name that is specified in the Connection
connName
Manager. It identifies the connection string that Dreamweaver should use to make a
database connection to a live data source.
Returns
A string that contains the driver name.
Example
The statement
MMDB.getDriverName ("EmpDB");
"jdbc/oracle/driver/JdbcOracle"
MMDB.getDriverUrlTemplateList() (deprecated)
Availability
Dreamweaver UltraDev 4, deprecated in Dreamweaver MX.
For Dreamweaver UltraDev 4, the list of JDBC drivers are stored in the connections.xml
file, which is located in the Configuration/Connections folder. Each driver has an
associated URL template. This function returns the list of JDBC drivers.
might return the following string:
Database connection functions
returns
75

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents