You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2007/05/15 19:45:16 UTC

[jira] Resolved: (DERBY-1267) Add setCreateDatabase and setShutdownDatabase methods to datasource classes in client

     [ https://issues.apache.org/jira/browse/DERBY-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-1267.
---------------------------------------

    Resolution: Duplicate

This has been implemented as DERBY-2296; never noticed this issue.

> Add setCreateDatabase and setShutdownDatabase methods to datasource classes in client
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-1267
>                 URL: https://issues.apache.org/jira/browse/DERBY-1267
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Client
>    Affects Versions: 10.2.1.6
>            Reporter: Deepa Remesh
>            Priority: Minor
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.