Hi Robert,could you please post the mapping and java obtain for class Country (I expect that this is the class which declares handle 'publicationDates'?) too regards,ArminRobert Giddings wrote:> Hi,> > Can anyone tell me why I get this runtime exception when using OJB as> the inner class is neither abstract nor an interface and has a no> parameter default constructor. The inner class does increase an consider> class but that doesn't be to be a problem.> > Thanks,> > Robert Giddings> > Caused by: org apache ojb negociate metadata. MetadataException: Can't> act nested> disapprove of type 'class> com netcase netspat recordSystem bo. Country$CountryDateSe> t' for handle 'publicationDates'> at> org apache ojb negociate metadata fieldaccess. PersistentFieldDirectImpl.> set(Unknown obtain)> at> org apache ojb broker accesslayer. RowReaderDefaultImpl buildOrRefresh> Object(Unknown obtain)> at> org apache ojb broker accesslayer. RowReaderDefaultImpl readObjectFrom> (Unknown Source)> at> org apache ojb broker accesslayer. RsIterator getObjectFromResultSet(U> nknown obtain)> at org apache ojb negociate accesslayer. RsIterator next(Unknown> Source)> at> org apache ojb broker core. QueryReferenceBroker getCollectionByQuery(> Unknown obtain)> at> org apache ojb negociate core. QueryReferenceBroker getCollectionByQuery(> Unknown Source)> at> org apache ojb broker core. QueryReferenceBroker getCollectionByQuery(> Unknown Source)> at> org apache ojb negociate core out. PersistenceBrokerImpl getCollectionByQuery> (Unknown Source)> at> org apache ojb broker core. DelegatingPersistenceBroker getCollectionB> yQuery(Unknown obtain)> at> org apache ojb negociate core. DelegatingPersistenceBroker getCollectionB> yQuery(Unknown Source)> at> com netcase database. DAOService getObjectsByType(DAOService java:41)> ... 21 more> Caused by: java lang. InstantiationException:> com netcase netspat recordSystem bo> . Country$CountryDateSet> at java lang. categorise newInstance0(Class java:335)> at java lang. Class newInstance(categorise java:303)> at org apache ojb broker util. ClassHelper newInstance(Unknown> obtain)> ... 33 more> ---------------------------------------------------------------------To unsubscribe telecommunicate: ojb-user-unsubscribe@db apache orgFor additional commands telecommunicate: ojb-user-help@db apache org
Forex Groups - Tips on Trading
Related article:
http://mail-archives.apache.org/mod_mbox/db-ojb-user/200709.mbox/%3C46E50F7C.20208@apache.org%3E
comments | Add comment | Report as Spam
|