Hi Deepa,

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

Dag

"Deepa Remesh (JIRA)" <[email protected]> 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

Reply via email to