You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Andrus Adamchik <an...@objectstyle.org> on 2009/11/27 13:12:04 UTC

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

On Nov 27, 2009, at 1:58 PM, Andrey Razumovsky (JIRA) wrote:

>
> Another thing with HSQL I dislike is that if modeler is stopped  
> unexpectedly (e.g. red square button in Eclipse), preferences are  
> not saved. Hope we can change that

Yep, this is one of the consequences of the HSQLDB database access  
model we've been using till now.

Andrus

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

Posted by Michael Gentry <mg...@masslight.net>.
I've been experimenting with the Java Preferences feature and it seems
fairly reasonable to use so far.  The biggest pain (so far) is
handling to-many types, but I just loop through them adding a .0, .1,
.2, etc to the names of the keys for that.

mrg


On Fri, Nov 27, 2009 at 7:12 AM, Andrus Adamchik <an...@objectstyle.org> wrote:
>
> On Nov 27, 2009, at 1:58 PM, Andrey Razumovsky (JIRA) wrote:
>
>>
>> Another thing with HSQL I dislike is that if modeler is stopped
>> unexpectedly (e.g. red square button in Eclipse), preferences are not saved.
>> Hope we can change that
>
> Yep, this is one of the consequences of the HSQLDB database access model
> we've been using till now.
>
> Andrus
>