Weaver, Scott wrote:
Hi All,
I have never used the ODMG specific collection classes before. That being
said, I just started using DList in some of my mappings.
Example:
<collection-descriptor
name="portlets"
element-class-ref="org.apache.jetspeed.om.common.portlet.PortletDefinitionCo
mposite"
collection-class="org.apache.ojb.odmg.collections.DListImpl"
>
<inverse-foreignkey field-ref="appId"/>
</collection-descriptor>
However, when I do specify the DListImpl, I get this error when updating to the DB:
Could not obtain next object: Can't build new sequence: Table not found: OJB_HL_SEQ in statement [SELECT A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM OJB_HL_SEQ A0 WHERE A0.TABLENAME LIKE 'SEQ_OJB_DLIST' ]
The DListImpl class request on creation time and for each entry an ID from the SequenceManager (DListImpl_2 a new implementation try to avoid this overhead) and it seems you don't have created the tables used by DListImpl.
Why you need to specify DListImpl as collection class?
regards, Armin
Thanks,
*================================* | Scott T Weaver |
| <[EMAIL PROTECTED]> | | Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
*================================*
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
