OpenJPA
  1. OpenJPA
  2. OPENJPA-1439

Metamodel instantiation fails on InputStream properties

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-beta
    • Component/s: jpa
    • Labels:
      None

      Description

      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)

        Activity

        Hide
        Xiaoqin Feng added a comment -

        I am on vacation from 12/20/2009  to 12/26/2009.

        If you have any question on deployment and JEE bugs, please contact Saurabh Arora or my manager Maruthi Nuthikattu.

        For emergency, contact me at 925-209-5517.

        Show
        Xiaoqin Feng added a comment - I am on vacation from 12/20/2009  to 12/26/2009. If you have any question on deployment and JEE bugs, please contact Saurabh Arora or my manager Maruthi Nuthikattu. For emergency, contact me at 925-209-5517.
        Hide
        Xiaoqin Feng added a comment -

        I am on vacation from 12/20/2009  to 12/26/2009.

        If you have any question on deployment and JEE bugs, please contact Saurabh Arora or my manager Maruthi Nuthikattu.

        For emergency, contact me at 925-209-5517.

        Show
        Xiaoqin Feng added a comment - I am on vacation from 12/20/2009  to 12/26/2009. If you have any question on deployment and JEE bugs, please contact Saurabh Arora or my manager Maruthi Nuthikattu. For emergency, contact me at 925-209-5517.
        Hide
        Xiaoqin Feng added a comment -

        I am on vacation from 12/20/2009  to 12/26/2009.

        If you have any question on deployment and JEE bugs, please contact Saurabh Arora or my manager Maruthi Nuthikattu.

        For emergency, contact me at 925-209-5517.

        Show
        Xiaoqin Feng added a comment - I am on vacation from 12/20/2009  to 12/26/2009. If you have any question on deployment and JEE bugs, please contact Saurabh Arora or my manager Maruthi Nuthikattu. For emergency, contact me at 925-209-5517.
        Hide
        Pinaki Poddar added a comment -

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

        Show
        Pinaki Poddar added a comment - As per the original reporter the problem has been is fixed.

          People

          • Assignee:
            Pinaki Poddar
            Reporter:
            Mikhail Vorozhtsov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development