Hi Andre Luiz,
I examined your DataMap and noticed that Modeler gives 2 warnings (on
save, or when choosing "File -> Validate"). The message is like
"DbRelationship join has no target attribute.". Click on the warning
message to go to the relationship in question, then select "Database
mapping" button in the bottom and add target attribute for the
relationship. Make sure that there are no more warnings when you save a
project. I am pretty sure this will address this particular problem.
Andrus
On Wednesday, July 9, 2003, at 09:43 AM, André Luiz N Sousa wrote:
> 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 : Thu Jul 10 2003 - 01:09:06 EDT