> I've just tested this with:
> - SomeEntity has a cmp-field public OtherEntity otherEntity
> - automatically generated finder findByOtherEntity(OtherEntity oe)
> works.
...snip...
> Sebastien
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):
<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
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>
But that throws an SQLException when reading any Address-Bean:
[JAWS] java.sql.SQLException: Unknown SQL Type for
PreparedStatement.setObject ( SQL Type=2006 )
Sylko
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]