db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2296) getProperties method deprecated on ClientDataSource
Date Tue, 17 Apr 2007 22:57:15 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489572
] 

Daniel John Debrunner commented on DERBY-2296:
----------------------------------------------

+    public final void setCreateDatabase(String create) {
+        if (create != null && create.equalsIgnoreCase("create"))
+            this.createDatabase = true;
+    }

This doesn't reset the createDatabase state if a value is passed in that is not "create".

Same for shutdown.

> getProperties method deprecated on ClientDataSource
> ---------------------------------------------------
>
>                 Key: DERBY-2296
>                 URL: https://issues.apache.org/jira/browse/DERBY-2296
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.2.1.6, 10.2.2.0
>         Environment: All
>            Reporter: Matt Hogstrom
>         Assigned To: Myrna van Lunteren
>             Fix For: 10.2.2.1
>
>         Attachments: DERBY-2296_20070412.diff, DERBY-2296_20070413.diff
>
>
> Not sure exactly where this was deprecated but on Client DataSources it appears that
the getProperties method was made private.  In Geronimo we were using this to inquire and
set whether a create=true was set for a database.  
> We are moving from 10.1.3.1 to 10.2.1.6 (or perhaps 10.2.2.0) for our next version which
we are targetting for April of this year.
> Is it possible to add the following methods on the ClientDataSource:
>  setCreateDatabase (String)
>  getCreateDatabase()
>  setShutdownDatabase (String)
>  getShutdownDatabase()
> as they are on the EmbeddedDataSource?

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