You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by co...@apache.org on 2009/05/24 01:27:00 UTC

[CONF] Apache Jackrabbit: How to map associations between objects (comment added)

How to map associations between objects (JCR) commented on by Benjamin Rack
   http://cwiki.apache.org/confluence/display/JCR/How+to+map+associations+between+objects?focusedCommentId=118492#comment-118492

Comment
---------------------------------------------------------------------

Hello,

the last line in section "The Content Model" states the follwing:

"Right now, the support of Map is limited to the usage of String for the key because the map key will be used as the Node name."

That should be clarified, because it's also possible to use custom types provided there is a toString() method in the respective class of that type. The return value of the toString() method is used for the mapping.

 Cheers,
Benjamin

---------------------------------------------------------------------
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence