What settings are required to run the ODBC-JDBC Gateway with Java DB?
For embedded use:
| ODBC-JDBC Gateway data source setting | Value |
|---|---|
| Driver Class | org.apache.derby.jdbc.EmbeddedDriver |
| Class Path |
jarfiledir\derby.jar
where c:\jars\derby.jar
|
| URL |
jdbc:derby:database
where
|
For Network Server use:
| ODBC-JDBC Gateway data source setting | Value |
|---|---|
| Driver Class | org.apache.derby.jdbc.ClientDriver |
| Class Path |
jarfiledir\derbyclient.jar
where c:\jars\derbyclient.jar
|
| URL |
jdbc:derby://server/database
where
|
Note Ensure that there are no trailing spaces left at the end of the Driver Class value.