Hello.
Read the documentation on flattened many-to-many relationship.
http://cwiki.apache.org/CAYDOC/cayennemodeler-flattened-
relationships.html
http://www.google.com/search?q=cayenne+flattened+relationship+site%
3Acwiki.apache.org
- Tore.
On Dec 10, 2006, at 18:59 , marco turchi wrote:
Hi
I've read the documentation, I created a flattened many-to-many
relationship, but any record has been inserted inside the connection table.
I have the following tables and relationships:
db-entity name=NE_ENTITY
db-attribute name=entityType type=VARCHAR length=255/
db-attribute name=id
Hello.
On Dec 11, 2006, at 13:01 , marco turchi wrote:
I've read the documentation, I created a flattened many-to-many
relationship, but any record has been inserted inside the
connection table.
I have the following tables and relationships:
Your mapping is wrong. I have fixed it and
Hi Tore,
thanks for your help...
the problem is that using the moduler I'm not able to create an
obj-relationship without create a new db-relationship. It means that I
obtain more relationships than the relationships you shown me in the example
(I obtain what I wrote in the previous email).
On Dec 11, 2006, at 17:36, marco turchi wrote:
the problem is that using the moduler I'm not able to create an
obj-relationship without create a new db-relationship. It means that I
obtain more relationships than the relationships you shown me in
the example
(I obtain what I wrote in the
Hi
just check if in your model (xxx.map.xml) you have something like that :
db-entity name=Entity
db-attribute name=id type=INTEGER isPrimaryKey=true
isMandatory=true/
more stuff
/db-entity
db-entity name=NameRelation
db-attribute name=entityId