Please click here to read the introduction of the series of posts and the format being used.
- Oracle – Java DB – Java DB
- Drivers
- Embedded - org.apache.derby.jdbc.EmbeddedDriver
- Client/Server - org.apache.derby.jdbc.ClientDriver
- jdbc:derby:[subsubprotocol:][databaseName][;attribute=value]*
- Examples
- Embedded - jdbc:derby:sample
- Client/Server – jdbc:derby://localhost:1527/sample
- Empress – Empress – Empress
- Drivers
- JDBC Driver Category 2 - empress.jdbc.empressDriver
- JDBC Driver Category 3 - empress.jdbc.clientDriver
- JDBC URLs
- JDBC Driver Category 2 - jdbc:empress://subname
- JDBC Driver Category 3 - jdbc:empress://server:port/subname
- EnterpriseDB – EnterpriseDB – EnterpriseDB
- com.edb.Driver
- jdbc:edb://[host[:port]]/database
- jdbc:edb://localhost/edb
- FileMaker – FileMaker – SequeLink
- com.ddtek.jdbc.sequelink.SequeLinkDriver
- jdbc:<subprotocol>:<subname>
- jdbc:sequelink://17.184.17.170:2399
- 2399 (fixed, can not change)
- FireBird – FireBird – Firebird
- org.firebirdsql.jdbc.FBDriver
- JDBC URLs
- jdbc:firebirdsql:host[/port]:<path to db>?<properties>
- Native - jdbc:firebirdsql:native:host[/port]:<path to db>?<properties>
- Local - jdbc:firebirdsql:local:<absolute path to database>?<properties>
- Embedded - jdbc:firebirdsql:embedded:<path to database>?<properties>
- Embedded Server - jdbc:firebirdsql:embedded:host[/port]:<path to database>?<properties>
- jdbc:firebirdsql:localhost/3050:c:/db/employee.fdb
- 3050
- EMC – Greenplum – PostgresSQL
- org.postgresql.Driver
- jdbc:postgresql:[//host[:port]/]databasename
- jdbc:postgresql://localhost/testdb
- H2 – H2 – H2
- org.h2.Driver
- JDBC URLs
- Embedded
- jdbc:h2:~/test 'test' in the user home directory
- jdbc:h2:/data/test 'test' in the directory /data
- jdbc:h2:test in the current(!) working directory
- In-Memory
- jdbc:h2:mem:test multiple connections in one process
- jdbc:h2:mem: unnamed private; one connection
- Server Mode
- jdbc:h2:tcp://localhost/~/test user home dir
- jdbc:h2:tcp://localhost//data/test absolute dir
- Settings
- jdbc:h2:..;MODE=MySQL compatibility (or HSQLDB,...)
- jdbc:h2:..;TRACE_LEVEL_FILE=3 log to *.trace.db