Hi Steven,

thanks for your offer to improve Castor JDO. From top of my head current
state of the features requested is:


w/o lazy loading
----------------

List: available

Map (object is key and value): available

Map (different objects as key and value): missing


with lazy loading
-----------------

List: available but there are some known issues (take a look at known
issues in jira)
- create and update of objects in list
- serialization of objects in list
- lazy loading only works while transaction is active

Map (object is key and value): available with with same limitations as list

Map (different objects as key and value): missing


To support maps with different objects as key and value, create a new
issue in jira.

For lazy loading take a look at known issues in jira and available test
cases in our test suite. Add tests for use cases that are not tested
yet. Write tests for the known issues and try to resolve them. If you
are aware of any issue not covered by the known ones create new issues.
Maybe we should also create one for improving test coverage of lazy loading.

If you have more questions or need some help to get started you are
welcome to ask them on the list or jump into castor channel on irc

irc://irc.codehaus.org#castor
http://irc.codehaus.org

Regards
Ralf



Stephen Ince schrieb:
> Hi.
>    I would like to help implement the following features in castor jdo
> if it doesn't exist. Can someone point in the right direction?
> 
> 1) Lazyload maps.
>        <field name="webResourcesMap"
> type="com.opendemand.jdo.WebResource" collection="map" lazy="true" >
>            <sql many-key="user_scenario_id" />
>        </field>
> key- indentity field for com.opendemand.jdo.WebResource
> value com.opendemand.jdo.WebResource
> 
> 2) Lazyload a list.
>        <field name="requestHeaders"
> type="com.opendemand.jdo.RequestHeader" collection="list" lazy="true">
>            <sql many-key="web_resource_id" />
>        </field>
> 
> 3) Store map entries with a configureable key
> e.g.
>        <field name="remoteMonitorsMap"
> type="com.opendemand.jdo.RemoteMonitor"
>            key="hostname"
>            collection="map">
>            <sql many-key="test_run_id" />
>        </field>
> key - hostname is a com.opendemand.jdo.RemoteMonitor field.
> 
> Steve
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>    http://xircles.codehaus.org/manage_email

-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [EMAIL PROTECTED]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to