You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "nico (Updated) (JIRA)" <ji...@apache.org> on 2011/12/07 11:08:40 UTC
[jira] [Updated] (CAY-1644) Mixed Up relation naming
[ https://issues.apache.org/jira/browse/CAY-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nico updated CAY-1644:
----------------------
Description:
Hello together,
I have in one table more than one relationship to one another table (f.e. customer.deliveryAdress and customer.invoiceAdress, both of them points to adress table).
So if I create the DB Entities and Object Classes over the Cayenne Modeler from DB (Menu "Reengineer DB Schema") the relationship name are like toAdress and toAdress1.
But if I create the model new from the same DB the names can be mixed up, so invoiceAdress is "toAdress" and deliveryAdress is "toAdress1" or the other way around.
Also the "Array"-names will be mixed up.
I hope this is understandable.
Greets
was:
Hello together,
I have in one table more than one relationship to one another table (f.e. customer.deliveryAdress and customer.invoiceAdress, both of them points to adress table).
So if I create the DB Entities and Object Classes over the Cayenne Modeler from DB (Menu "Reengineer DB Schema") the relationship name are like toAdress and toAdress1.
But if I create the model new from the same DB the names can be mixed up, so invoiceAdress is "toAdress" and deliveryAdress is "toAdress1" or the other way around.
I hope this is understandable.
Greets
> Mixed Up relation naming
> ------------------------
>
> Key: CAY-1644
> URL: https://issues.apache.org/jira/browse/CAY-1644
> Project: Cayenne
> Issue Type: Bug
> Components: Modeler
> Affects Versions: 3.0.2
> Environment: Windows 7, PostgreSQL 9
> Reporter: nico
> Labels: model, modeler
>
> Hello together,
> I have in one table more than one relationship to one another table (f.e. customer.deliveryAdress and customer.invoiceAdress, both of them points to adress table).
> So if I create the DB Entities and Object Classes over the Cayenne Modeler from DB (Menu "Reengineer DB Schema") the relationship name are like toAdress and toAdress1.
> But if I create the model new from the same DB the names can be mixed up, so invoiceAdress is "toAdress" and deliveryAdress is "toAdress1" or the other way around.
> Also the "Array"-names will be mixed up.
> I hope this is understandable.
> Greets
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira