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] Resolved: (DERBY-2296) getProperties method deprecated on ClientDataSource
Date Fri, 20 Apr 2007 18:49:15 GMT

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

Myrna van Lunteren resolved DERBY-2296.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 10.2.2.1)
                   10.3.0.0
       Derby Info: [Release Note Needed]

I realized that there was one missing step - the incentive for me to fix this was that I had
to add special if (usingDerbyNetClient()) code into the junit framework; and that could now
be simplified.

I also tried to write a test, similar to DSCreateShutdownDBTest, for ConnectionPoolDataSources
and XADataSources, but ran into trouble - see DERBY-2576 for that.

With those last changes committed, I can close this particular issue.

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