JDBC
JDBC Drivers1)org.apache.derby.jdbc.EmbeddedDriver
2)org.apache.derby.jdbc.ClientDriver
Database connection URLs
1)jdbc:derby:databaseName;URLAttributes
2)jdbc:derby://host:port/databaseName;URLAttributes
Connecting to a Derby Database
1)start the JVM;
2)Load the appropriate driver;
3)Create a connection by providing a valid database connection URL
ij properties reference
1)ij.connection.connectionName
Systax:ij.connection.connectionName=databaseConnectionURL
2)ij.database
Systax:ij.database=databaseConnection URL
3)ij.dataSource
4)ij.driver
Systax:ij.driver=JDBCDriverClassName
页:
[1]