Dave
|
Posted: 05/05/2004, 11:43 AM |
|
JDBC Driver: The name of the driver to be used, (e.g.,
sun.jdbc.odbc.JdbcOdbcDriver)
Database URL: The URL pointing to the database to be connected (e.g.,
jdbc.odbc:intranet)
Note that you are not restricted to using JDBC drivers only. You can use any
valid driver provided that it is installed and properly configured on your
system. If you are not familiar with Java database drivers and URL's, you
can refer to Java documentation for more detailed information.
Env: Win XP, IE6
Code: Servlets 2.2 JDK 1.3 with Templates
Project: C:\Program
Files\CodeChargeStudio\Examples\Internet\Portal\portal.ccs
JDBC Driver: sun.jdbc.odbc.JdbcOdbcDriver
Database URL: jdbc:odbc:portal
Are the above two setting correct?
1. Where can the JDBC Driver be downloaded?
2. What is the file name
3. Is the filename added to the Class Path?
|
|
|
miko
Posts: 50
|
Posted: 08/25/2004, 10:12 PM |
|
Dave,
your settings are correct and I use such settings with CCS.
If you have problems you should check DSN settings.
About your questions:
> 1. Where can the JDBC Driver be downloaded?
> 2. What is the file name
JDBC-ODBC bridge is included to j2sdk.
You needn't to do more.
> 3. Is the filename added to the Class Path?
No, it is unnecessary.
_________________
Regards,
Michael |
|
|
|