Hi, Andrus,
Thanks for your atention. Let's answer your questions:
> Line "394" in ControladorConfiguracaoGeral.tratarEndereco should be one
> of these, right? :
> if ( (wEndereco.getGrupoEscoteiroArray() == null ||
> wEndereco.getGrupoEscoteiroArray().size() == 0) &&
> (wEndereco.getAlmoxarifadoArray() == null ||
> wEndereco.getAlmoxarifadoArray().size() == 0) &&
> (wEndereco.getEscotistaArray() == null ||
> wEndereco.getEscotistaArray().size() == 0)
====> Exactly. It's the moment when I query if there are some another childs for the relationship.
> Could you print out a state of "wEndereco" right before it blows
> [System.out.println("" + wEndereco) or something].
==> wEndereco = {[ AlmoxarifadoArray => (org.objectstyle.cayenne.access.ToManyList)
codTipoLogradouro => QDR
numCep => 71025400
desLogradouro => QI 14 Conjunto D
toBairro => {<oid: br.org.scout23.logic.cayenne.Bairro: <IDE_BAIRRO: 13>; state: committed>}
desComplemento => 21
GrupoEscoteiroArray => (org.objectstyle.cayenne.access.ToManyList)
EscotistaArray => (org.objectstyle.cayenne.access.ToManyList)
codTipoComplemento => CAS
ideBairroFk05 => 13
]<oid: br.org.scout23.logic.cayenne.CadastroEndereco: <IDE_ENDERECO: 5>; state: modified>}
> Also if you could
> send me your DataMap XML file directly, I will see if there are any
> anomalies.
====> I will send it direct to your e-mail, Ok?
Thanks.
André Luiz
Analista de Sistemas
Brasília - DF / BRASIL
This archive was generated by hypermail 2.0.0 : Wed Jul 09 2003 - 09:41:28 EDT