Bernard Sirius wrote:
are you doing a "maven -o clean install" or what, in
order to get the 
hbm's regenerated?
    

didn't. just did. doesn't change anything.

what should I see ?
dynamic-insert="true"/dynamic-update="true"????? or
what?
no, you should see a line like this:
<class name="com.aaa.Conversion_EntidadesFinancierasImpl" table="CONVERSION__ENTIDADES_FINANCIE" proxy="com.aaa.Conversion_EntidadesFinancierasImpl" dynamic-insert="true" dynamic-update="true">

If that's the case, I'll create a quick filtering hack
in my maven.xml...
do not recommend, it should be working, which version of Andromda are you using?

BTW I just saw that hibernate has a faq entry about
this:

How do I set up a 1-to-1 relationship as lazy?

Use
<one-to-one constrained="true" outer-join="false"
class="Foo"/>

with a proxied class, Foo. This is ONLY conceptually
possible for a mandatory association since we have to
hit the other table to determine whether the
association is null or not!
</quote>

So how do you guys do? This is obviously an issue,
since models are plenty of 1-1 associations... I
guess. You are using proxies, right? This is the only
solution. Proxies?
  
I also use @andromda.persistence.foreign.identifier to determine which side will hold the key

Carlos
bernard


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


  

Reply via email to