Hi!
Vincent Harcq wrote:
> I have changed that, but it does not help.
>
> Have a look at my jaws.xml and jdbc-type for pk.
> <jaws>
> <enterprise-beans>
> <entity>
> <ejb-name>Application</ejb-name>
> <table-name>APPLICATION</table-name>
> <cmp-field>
> <field-name>pk</field-name>
> <column-name>PK</column-name>
> <jdbc-type>JAVA_OBJECT</jdbc-type>
> <sql-type>VARCHAR(250)</sql-type>
JDBC-type should be VARCHAR.
> >From the examples on the Web, they supply INTEGER so I guess I should
> put VARCHAR here.
> When I change it to VARCHAR, I receive Exception on the server.
I'm guessing that your bean has a field of type "GeneralPK". If so, that
is wrong. It should have a String field which has the same name as the
name of the String in your GeneralPK.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]