You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2009/12/23 16:42:29 UTC

[jira] Resolved: (OPENJPA-1439) Metamodel instantiation fails on InputStream properties

     [ https://issues.apache.org/jira/browse/OPENJPA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinaki Poddar resolved OPENJPA-1439.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M4

As per the original reporter the problem has been is fixed.

> Metamodel instantiation fails on InputStream properties
> -------------------------------------------------------
>
>                 Key: OPENJPA-1439
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1439
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.0.0
>            Reporter: Mikhail Vorozhtsov
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0-M4
>
>
> EntityManagerFactory.getMetamodel() fails if entity class has a property of type InputStream:
> Caused by: java.lang.IllegalStateException: Field "my.Entity.fullText" is not recognized by its type code "30" to be included in the meta model.
>         at org.apache.openjpa.persistence.meta.AbstractManagedType.<init>(AbstractManagedType.java:176)
>         at org.apache.openjpa.persistence.meta.Types$Identifiable.<init>(Types.java:119)
>         at org.apache.openjpa.persistence.meta.Types$Entity.<init>(Types.java:199)
>         at org.apache.openjpa.persistence.meta.MetamodelImpl.instantiate(MetamodelImpl.java:253)
>         at org.apache.openjpa.persistence.meta.MetamodelImpl.find(MetamodelImpl.java:224)
>         at org.apache.openjpa.persistence.meta.MetamodelImpl.<init>(MetamodelImpl.java:89)
>         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.getMetamodel(EntityManagerFactoryImpl.java:310)
>         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.getMetamodel(EntityManagerFactoryImpl.java:57)

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