Hi,
Using db-ojb-1.0.rc6, tomcat and Oracle, I got an error message:
... caused by: java.lang.NoSuchFieldException: motherboardId
... org.apache.ojb.broker.metadata.MetadataException: Can't find
member 'motherboardId' in my.Motherboard.
However, in the repository_user.xml, I have defined the class as following:
<class-descriptor class="my.Motherboard" table="Motherboard">
<field-descriptor
name="motherboardId"
column="motherboadId"
jdbc-type="INTEGER"
autoincrement="true"
sequence-name="UniqueIdentifier"/>
....
And I use the query as following:
Criteria crit = new Criteria();
crit.addEqualTo("motherboardName", "Mb");
Query q = new QueryByCriteria(Motherboard.class, crit);
....
Could you help me to find out what's wrong?
Thanks
Dominique
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]