Sylko Olzscher wrote:
> 
> This sounds good. Can you give us a hint how to define the cmp-field? I have
> tested an Address-Bean (address of a person):

Which database are you using? I only tested mine on Hypersonic.  You can
have a look at the sources (AllTypesBean in the testbeans suite, cvs
module zola)

More below..


> 
> <cmp-field><field-name>_person</field-name></cmp-field>
> 
> and
> 
>          <ejb-ref>
>            <ejb-ref-name>ejb/Person</ejb-ref-name>
>            <ejb-ref-type>Entity</ejb-ref-type>
>            <home>com....PersonHome</home>
>            <remote>com....Person</remote>
>            <ejb-link>Person</ejb-link>
>          </ejb-ref>
> with
> 
> public com...Person _person;    // java

Sounds ok

> 
> The jaws file contains:
>          <cmp-field>
>            <field-name>_person</field-name>
>            <column-name></column-name>
>            <sql-type>ejb/Person</sql-type>
>            <jdbc-type>REF</jdbc-type>
>          </cmp-field>
> 

I don't think you need anything in jaws.xml.  The person bean will be
stored as an object.  

Sebastien


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to