db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-1267) Add setCreateDatabase and setShutdownDatabase methods to datasource classes in client
Date Tue, 15 May 2007 17:47:16 GMT

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

Myrna van Lunteren closed DERBY-1267.
-------------------------------------


> 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.


Mime
View raw message