Hibernate version:3
hi, i have this "bad" association but work ;-).
My problem. it's that not always assocation exists, how i can doing for i don't receive error "No row with the given identifier exists: [vo.as400.CSpedizioniVO#vo.pk.CSpedizioniPK@2ca553b]"
Can you help me please
Devis
Code:
<many-to-one name="spedizioni" class="vo.as400.CSpedizioniVO" lazy="false" update="false" insert="false" not-null="true">
<column name="GGSP$A"/>
<column name="MMSP$A"/>
<column name="AASP$A"/>
<formula>19</formula>
<formula>'V'</formula>
<formula>(TRIM(SUBSTR(NDOC$A,1,8)))</formula>
</many-to-one>