Hello all,

I have a dbEntity with thre foreign keys that are also its primary keys.
During the application I fill all three fields correctly with the objects
that should be referenced. Before the commitchangestoparent I check the
newObjects array and all objects are filled correctly.

On the Modeler I left the Default PK generation because none of the PK will
be generated, as they are also foreign keys. But even so Cayenne tries to
use the AutoPkSupport generation for only one of the foreign keys... raising
an integrity error.

Anybody knows what can be happening? I'm using cayenne 3.0.2

Regards
Bruno Santos

-- 
Bruno René Santos | [email protected] | Gestor de Projectos | Analista |
Programador | Investigador

Holos - Soluções Avançadas em Tecnologias de Informação S.A.
Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque
Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal
Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient or the person responsible for
delivering the email to the intended recipient, be advised that you have
received this email in error and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you have
received this email in error please notify Bruno René Santos by telephone on
+351 210 438 686

Reply via email to