You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Guillaume Chauvet (JIRA)" <ji...@apache.org> on 2012/08/09 15:07:19 UTC

[jira] [Created] (OPENJPA-2250) Generic embeddable entity

Guillaume Chauvet created OPENJPA-2250:
------------------------------------------

             Summary: Generic embeddable entity
                 Key: OPENJPA-2250
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2250
             Project: OpenJPA
          Issue Type: Bug
          Components: UnenhancedClasses
    Affects Versions: 2.1.1
            Reporter: Guillaume Chauvet
         Attachments: GenericEmbeddable.zip

I found a problem when create & use a generic embeddable entity. When javaagent parse classes we can see these messages :

1181  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
1615  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.

I attached a maven project whit a unit test for reproducing these logs. (Tested with Netbeans 7.2RC)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OPENJPA-2250) Generic embeddable entity

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

Guillaume Chauvet updated OPENJPA-2250:
---------------------------------------

    Attachment: GenericEmbeddable.zip
    
> Generic embeddable entity
> -------------------------
>
>                 Key: OPENJPA-2250
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2250
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: UnenhancedClasses
>    Affects Versions: 2.1.1
>            Reporter: Guillaume Chauvet
>         Attachments: GenericEmbeddable.zip
>
>
> I found a problem when create & use a generic embeddable entity. When javaagent parse classes we can see these messages :
> 1181  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
> 1615  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
> I attached a maven project whit a unit test for reproducing these logs. (Tested with Netbeans 7.2RC)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OPENJPA-2250) Generic embeddable entity

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

Guillaume Chauvet updated OPENJPA-2250:
---------------------------------------

    Component/s: Enhance
    
> Generic embeddable entity
> -------------------------
>
>                 Key: OPENJPA-2250
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2250
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: Enhance, UnenhancedClasses
>    Affects Versions: 2.1.1
>            Reporter: Guillaume Chauvet
>         Attachments: GenericEmbeddable.zip
>
>
> I found a problem when create & use a generic embeddable entity. When javaagent parse classes we can see these messages :
> 1181  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
> 1615  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
> I attached a maven project whit a unit test for reproducing these logs. (Tested with Netbeans 7.2RC)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OPENJPA-2250) Generic embeddable entity

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

Guillaume Chauvet updated OPENJPA-2250:
---------------------------------------

    Attachment: GenericEmbeddable.zip

JUnit test bundled in a maven project
                
> Generic embeddable entity
> -------------------------
>
>                 Key: OPENJPA-2250
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2250
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: UnenhancedClasses
>    Affects Versions: 2.1.1
>            Reporter: Guillaume Chauvet
>         Attachments: GenericEmbeddable.zip
>
>
> I found a problem when create & use a generic embeddable entity. When javaagent parse classes we can see these messages :
> 1181  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
> 1615  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
> I attached a maven project whit a unit test for reproducing these logs. (Tested with Netbeans 7.2RC)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OPENJPA-2250) Generic embeddable entity

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

Guillaume Chauvet updated OPENJPA-2250:
---------------------------------------

    Attachment:     (was: GenericEmbeddable.zip)
    
> Generic embeddable entity
> -------------------------
>
>                 Key: OPENJPA-2250
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2250
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: UnenhancedClasses
>    Affects Versions: 2.1.1
>            Reporter: Guillaume Chauvet
>         Attachments: GenericEmbeddable.zip
>
>
> I found a problem when create & use a generic embeddable entity. When javaagent parse classes we can see these messages :
> 1181  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
> 1615  TEST  WARN   [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.test.embeddable.TraceEntity.traceability.org.apache.test.embeddable.Tracer.next" efficiently.  It is of an unsupported type. The field value will be serialized to a BLOB by default.
> I attached a maven project whit a unit test for reproducing these logs. (Tested with Netbeans 7.2RC)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira