Hi all. There is one thing I didn't understand from the docs about
association mapping
http://objectbridge.sourceforge.net/tutorial3.html#1-n
<CollectionDescriptor id="1">
<cdfield.name>collection</cdfield.name>
******* -> does this field must be present in repository.xml in
SomeCLASS ClassDescriptor ? or just be a field in SomeCLASS impl ?
<items.class>SomeCLASS</items.class>
<inverse_fk_descriptor_ids>2</inverse_fk_descriptor_ids>
</CollectionDescriptor>
I keep getting exceptions like this :
Expcetion : java.util.NoSuchElementException
StackTrace: java.util.NoSuchElementException at
ojb.broker.accesslayer.RsIterator.next(RsIterator.java) at
ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:931)at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1000)at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1093)at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1080)at
....
that doesn't help me so much.
--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
|