This data source is suitable for an application using embedded Derby, running on Java 8 Compact Profile 2 or higher.
BasicEmbeddedDataSource40 is similar to EmbeddedDataSource, but does not support JNDI naming, i.e. it does not implement {@code javax.naming.Referenceable}.
The standard attributes provided are, cf. e.g. table 9.1 in the JDBC 4.2 specification.
- databaseName
- dataSourceName
- description
- password
- user
These standard attributes are not supported:
- networkProtocol
- portNumber
- roleName
- serverName
The embedded Derby driver also supports these attributes:
- loginTimeout
@see javax.sql.CommonDataSource set/get - logWriter
@see javax.sql.CommonDataSource set/get - createDatabase
- connectionAttributes
- shutdownDatabase
- attributesAsPassword
See the specific Derby DataSource implementation for details on their meaning.
See also the JDBC specifications for more details.
@see EmbeddedDataSource