Affects Version/s: 10.2.1.6
Fix Version/s: None
Component/s: Network Client
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.