Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
10.2.1.6
-
None
-
None
Description
Derby client driver's DataSource classes do not have methods like setCreateDatabase and setShutdownDatabase whereas embedded driver has these methods.
Derby reference manual, section titled "javax.sql: JDBC Extensions' mentions this:
"
In addition, Derby provides three methods for XADataSource, DataSource, and ConnectionPoolDataSource. Derby supports a number of additional data source properties:
? setCreateDatabase(String create)
Sets a property to create a database at the next connection. The string argument must be "create".
? setShutdownDatabase(String shutdown)
Sets a property to shut down a database. Shuts down the database at the next connection. The string argument must be "shutdown".
Note: Set these properties before getting the connection.
"
Currently, the above text applies only to embedded driver. These methods have to be added to client's datasource classes also.
Attachments
Issue Links
- is part of
-
DERBY-310 Document and/or change Derby client code to match behavior with Embedded driver where possible.
- Closed