1 Reply Latest reply on Feb 24, 2013 6:08 AM by Thomas Frühbeck

    @Generated ID values of class java.lang.Short not supported

    Thomas Frühbeck Newbie

      Hi,

       

      while testing my Errai project generator for Forge using legacy DB Sakila I got the following error:

       

      Caused by: java.lang.UnsupportedOperationException: @Generated ID values of class java.lang.Short not supported

      at org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator$JpaMetamodelMethodBodyCallback.generateGetValueGenerator(ErraiEntityManagerGenerator.java:595

       

      Is there any special reason to _not_ support simple Short ids?

       

      I am not using Errai-JPA yet, can I work around this error w/o manipulating the entities?

       

      Thanks,

      Thomas