cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ari Maniatis (JIRA)" <>
Subject [jira] Closed: (CAY-437) Modeler primary key/foreign key id auto removals from objects
Date Wed, 06 Jan 2010 12:08:54 GMT


Ari Maniatis closed CAY-437.

    Resolution: Incomplete

I'm closing this task since it isn't clear what could be done here. Weidox, if you have further
information to add please reopen and add to this task.

> Modeler primary key/foreign key id auto removals from objects
> -------------------------------------------------------------
>                 Key: CAY-437
>                 URL:
>             Project: Cayenne
>          Issue Type: Improvement
>         Environment: winxp M7
>            Reporter: weidox
>            Assignee: Andrus Adamchik
>             Fix For: Undefined future
> I found it unconventional, that, using synchronize deletes properties from object, which
reflect primary/foreign keys. In general, it is a good idea to delete them by default, but
not when they are artificially created. So I thought what could be done here without modifying
.xml files, and came to 2 things, which should improve the situation.
> First, when working, modeler should wathch if object property was created "by hand".
If so, it should be marked as not to be deleted automatically. 
> Second, if xml files are loaded, modeler should check for object properties, which reflect
these primary/foreign keys, and mark them to be not auto-deleted.

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

View raw message