Dear all,
I am porting code from weblogic 5.1 to jboss 3.0.0. I replaced Oracle with Hypersonic and all seems to deploy fine until I hit:
2002-07-15 09:30:13,053 WARN [org.jboss.ejb.plugins.jaws.metadata.CMPFieldMetaData] ERROR : Nested Field does not have a get method
2002-07-15 09:30:13,053 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Init SQL: CREATE TABLE serviceProfile (serviceProfId VARCHAR(256),userId VARCHAR(256),servicePropId VARCHAR(256),attribVal null,serviceId VARCHAR(256))
The problem is "attribVal null".
The Bean class has a "getAttribValue()" and the jaws file has "<field-name>attribValue</field-name>". So, how come the SQL command uses "attribVal"?
Best regards,
John-Luc
Argh! I made this mistake myself in "ejb-jar.xml". It read:
<cmp-field><field-name>attribVal</field-name></cmp-field>
And now reads:
<cmp-field><field-name>attribValue</field-name></cmp-field>
Thanks,
John-Luc