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
Ok, I see:
// TODO implement the missing generatable ID types (which are silly: byte, char, short)
throw new UnsupportedOperationException("@Generated ID values of " + attr.getJavaType() + " not supported");
quite reasonable ;-)