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 "Deepa Remesh (JIRA)" <de...@db.apache.org> on 2006/04/28 19:41:37 UTC

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

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


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

Posted by "Dag H. Wanvik" <Da...@Sun.COM>.
Hi Deepa,

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

Dag

"Deepa Remesh (JIRA)" <de...@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

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

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ 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.