You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Patrick Linskey (JIRA)" <ji...@apache.org> on 2007/10/24 21:47:50 UTC

[jira] Created: (OPENJPA-417) Support more elements in collections and maps

Support more elements in collections and maps
---------------------------------------------

                 Key: OPENJPA-417
                 URL: https://issues.apache.org/jira/browse/OPENJPA-417
             Project: OpenJPA
          Issue Type: New Feature
            Reporter: Patrick Linskey
             Fix For: 1.1.0


It would be useful if OpenJPA could support Map<String,String>, Collection<String>, Map<UserDefinedType,OtherUserDefinedType> etc. more fluently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-417) Support more elements in collections and maps

Posted by "Albert Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Albert Lee updated OPENJPA-417:
-------------------------------

    Attachment: OPENJPA-417.patch

We run into a scenario where backward compatibility is required for this feature. To allow existing application to work, the attached patch introduces an option (StoreMapCollectionInEntityAsBlob) in the openjpa.Compatibility plugin which restores the behavior implemented in the previous releases. The default value for the new option is false, that means the current feature implementation will be the default behavior. The new behavior is what we recommend new application to use.

Please review the patch and comments are welcome.
Albert Lee.

> Support more elements in collections and maps
> ---------------------------------------------
>
>                 Key: OPENJPA-417
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-417
>             Project: OpenJPA
>          Issue Type: New Feature
>            Reporter: Patrick Linskey
>             Fix For: 1.1.0
>
>         Attachments: OPENJPA-417.patch
>
>
> It would be useful if OpenJPA could support Map<String,String>, Collection<String>, Map<UserDefinedType,OtherUserDefinedType> etc. more fluently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-417) Support more elements in collections and maps

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582673#action_12582673 ] 

Michael Dick commented on OPENJPA-417:
--------------------------------------

Hi Albert, 

I took a quick look at the patch and it looks good to me. The convention in the Compatibility class is to use getXxxxx()  instead of isXxxxx() though, but that's a rather simple change. 

> Support more elements in collections and maps
> ---------------------------------------------
>
>                 Key: OPENJPA-417
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-417
>             Project: OpenJPA
>          Issue Type: New Feature
>            Reporter: Patrick Linskey
>             Fix For: 1.1.0
>
>         Attachments: OPENJPA-417.patch
>
>
> It would be useful if OpenJPA could support Map<String,String>, Collection<String>, Map<UserDefinedType,OtherUserDefinedType> etc. more fluently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-417) Support more elements in collections and maps

Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Linskey resolved OPENJPA-417.
-------------------------------------

    Resolution: Fixed

> Support more elements in collections and maps
> ---------------------------------------------
>
>                 Key: OPENJPA-417
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-417
>             Project: OpenJPA
>          Issue Type: New Feature
>            Reporter: Patrick Linskey
>             Fix For: 1.1.0
>
>         Attachments: OPENJPA-417.patch
>
>
> It would be useful if OpenJPA could support Map<String,String>, Collection<String>, Map<UserDefinedType,OtherUserDefinedType> etc. more fluently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-417) Support more elements in collections and maps

Posted by "Thomas Sandor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597073#action_12597073 ] 

Thomas Sandor commented on OPENJPA-417:
---------------------------------------

Hello,

I'm using the latest v1.1.0 (openjpa-1.1.0-r422266:656510) and it seems, if I specify the joinColumn name, mappingtool does not specify the right column length with varchar2.
However, if I do not want to rename the joinColumn (and use the generated one), it find the right column length.

I think it's a minor bug.

> Support more elements in collections and maps
> ---------------------------------------------
>
>                 Key: OPENJPA-417
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-417
>             Project: OpenJPA
>          Issue Type: New Feature
>            Reporter: Patrick Linskey
>             Fix For: 1.1.0
>
>         Attachments: OPENJPA-417.patch
>
>
> It would be useful if OpenJPA could support Map<String,String>, Collection<String>, Map<UserDefinedType,OtherUserDefinedType> etc. more fluently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.