db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dag.Wan...@Sun.COM (Dag H. Wanvik)
Subject Re: [jira] Created: (DERBY-1267) Add setCreateDatabase and setShutdownDatabase methods to datasource classes in client
Date Tue, 02 May 2006 23:56:01 GMT

Hi Deepa,

you may want to link this to DERBY-310 which tracks the differences.

Dag

"Deepa Remesh (JIRA)" <derby-dev@db.apache.org> writes:

> Add setCreateDatabase and setShutdownDatabase methods to datasource classes in client
> -------------------------------------------------------------------------------------
>
>          Key: DERBY-1267
>          URL: http://issues.apache.org/jira/browse/DERBY-1267
>      Project: Derby
>         Type: Improvement
>
>   Components: Network Client  
>     Versions: 10.2.0.0    
>     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.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>

-- 
Dag H. Wanvik
Sun Microsystems, Database Technology Group (DBTG)
Haakon VII gt. 7b, N-7485 Trondheim, Norway
Tel: x43496/+47 73842196, Fax:  +47 73842101

Mime
View raw message