Create a JDBC connection profile to supply the runtime connection information for a Java Database Connectivity (JDBC) database endpoint. Multiple database usage are supported for the following database types:
Microsoft SQL Server
Sybase ASA, ASE, and IQ
If you installed Sybase Developer Edition Servers on the same machine as Sybase WorkSpace, a default JDBC database connection profile (MyDatabase) is provided in the Enterprise Explorer.
To create the connection profile:
In the Enterprise Explorer, right-click Databases and select New.
In the Wizard Selection page, select JDBC and click Next.
Complete the following information on the wizard pages and click Next:
Name and Description page
Field | Description |
---|---|
Name | Enter a unique and descriptive name for the profile. For example, jdbc02 |
Description | Enter a profile description that helps you distinguish it from others.
For example, Standard JDBC interface |
Auto-Connect | (Optional) Select the check box to automatically connect to the server and display its contents in the Enterprise Explorer. This happens whenever the Enterprise Explorer is opened. |
Specify a Driver and Connection Details page
Field | Description |
---|---|
Select Driver | Select a driver for your database. If no compatible driver exists, click [...] to open the Driver Definitions dialog and define one. |
URL | Enter the URL address for the profile. Sample URLs are provided. For example, jdbc:sybase:Tds:snow:5000/dbPluginTest |
User Name | Enter the name of the authorized user. For example, dbadmin |
Password |
|
Filter Properties | |
Procedures and Functions | Specify a database name, using % as the wild card, for example, DATABASE%. To specify all databases in the catalog, enter %. |
Schema | Specify a schema or filter by schema name, using % as the wild card, for example, TABL%. To specify all schemas in the catalog, enter %. |
Procedure Name | Specify a procedure or filter by procedure name, using % as the wild card, for example, ADDR%. To specify all procedures in the schema, enter %. |
Other Properties |
|
Test the connection. Click Test connection to ping the database server.
Review the Summary page. Click Back to make changes or Finish to create the connection profile.
The profile appears in the Enterprise Explorer under Databases and in the Database Explorer under Database Connection Profiles. If you selected Auto-Connect in the Name and Description page, the connection profile is also connected.
If you change the connection properties of a connection profile that is already connected, the connection profile will immediately disconnect from the resources. A confirmation window asks that you verify the disconnect and following WorkSpace automatically attempts a reconnect using the updated information.
Using the Default Connection Profiles
Creating an ASA Connection Profile
Creating an ASE Connection Profile
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com