You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Olga Tkacheva (JIRA)" <ji...@apache.org> on 2009/12/03 14:18:20 UTC

[jira] Closed: (CAY-1314) Migrate Modeler Preferences to Java Preferences API: migrate org.apache.cayenne.modeler.ModelerPreferences

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

Olga Tkacheva closed CAY-1314.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1M1

> Migrate Modeler Preferences to Java Preferences API: migrate org.apache.cayenne.modeler.ModelerPreferences
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CAY-1314
>                 URL: https://issues.apache.org/jira/browse/CAY-1314
>             Project: Cayenne
>          Issue Type: Task
>          Components: CayenneModeler GUI
>    Affects Versions: 3.1M1
>            Reporter: Andrus Adamchik
>            Assignee: Olga Tkacheva
>             Fix For: 3.1M1
>
>         Attachments: 0001-CAY-1314.patch
>
>
> There are multiple problems with the current Cayenne Modeler preferences mechanism (e.g. CAY-466)... The main problem I guess is that HSQLDB does not provide a way for concurrent reliable access to a prefs DB file. There were suggestions to switch to H2, still I am in favor of not rinventing the wheel and just going with java.util.prefs. Among other things that would allow us to share preferences between CM and runtime framework, specifically to easily use the JNDI hack (http://cayenne.apache.org/doc/using-jndi.html) without the need to include the modeler jars in the application..
> As a first step I suggest that we convert the old org.apache.cayenne.modeler.ModelerPreferences (that is not even using HSQLDB) to use Preferences API. This will still leave room for rollback of this whole idea and will let us try built-in Java prefs mechanism before we fully commit to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.