You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by airwing <ai...@vip.sina.com> on 2003/09/20 17:47:39 UTC

OJB is odd in refenrence

I still feel OJB is odd in refenrence
When I set repostitory like this
      <reference-descriptor
         name="c_Css_feastcycl"
         class-ref="com.redbird.crm.entity.Css_feastcycl"
         auto-update="false"
         auto-retrieve ="true"
      >
         <foreignkey field-id-ref="8"/>
      </reference-descriptor>
 It can not retrieve any object

when I set like this
      <reference-descriptor
         name="c_Css_feastcycl"
         class-ref="com.redbird.crm.entity.Css_feastcycl"
         auto-update="false"
         auto-retrieve ="true"
      >
         <foreignkey field-ref="feastcycl"/>
      </reference-descriptor>
It can get data, but it can't store foreignkey field. whatever I set
auto-update and auto-retrieve. follow the doc, it should not be like these.




---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org