What should be the initially key value when you are using as a map a
collection? I know that castor will use the object id, as a key for objects
that are already persisted. What should you as key for those objects that
are not yet persistented? Initially I am using a count but I would still
like castor to use the key-generator for ids. Is this possible?
<class name="com.opendemand.jdo.UserScenario">
<field name="webResourceLookup" type="com.opendemand.jdo.WebResource"
collection="map">
<sql many-key="user_scenario_id" dirty="ignore" />
</field>
</class>
<class name="com.opendemand.jdo.WebResource" identity="webResourceId"
key-generator="keygen" depends="com.opendemand.jdo.UserScenario">
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------