[ https://issues.apache.org/jira/browse/OPENJPA-2930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912918#comment-17912918 ]
Paulo Cristovão de Araújo Silva Filho commented on OPENJPA-2930: ---------------------------------------------------------------- I've updated api version to 3.1, and it breaks compilation due the change of jakarta.persistence.spi.ClassTransformer#transform and the lack of at least some CriteriaBuilder methods (localDate(), localDateTime(), power(), ceiling(), sign(), floor()). Found also an issue with ClassListValue#setInternalString (refuses to build/test due class cast conversion error. Changed impl to {code:java} @Override protected void setInternalString(String val) { String[] vals = StringUtil.split(val, ",", 0); if (vals.length != 0) { final ClassLoader loader = AccessController.doPrivileged(J2DoPrivHelper.getContextClassLoaderAction()); set(Stream.of(vals).map(v -> { try { return (Class<?>) loader.loadClass(v.trim()); } catch (final ClassNotFoundException e) { throw new IllegalStateException(e); } }).toArray(Class<?>[]::new)); } else { set(null); } }{code} > UUID ID Generator Strategy > --------------------------- > > Key: OPENJPA-2930 > URL: https://issues.apache.org/jira/browse/OPENJPA-2930 > Project: OpenJPA > Issue Type: Bug > Components: jpa > Affects Versions: 4.0.1 > Reporter: hantsy bai > Assignee: Maxim Solodovnik > Priority: Major > > The issue https://issues.apache.org/jira/browse/OPENJPA-2908 implements JPA > 3.1 was fixed, but I tried to use `UUID` as the ID of the Entity class in my > example https://github.com/hantsy/jakartaee10-starter-boilerplate/pull/162, > which use Apache TOMEE 10 as runtime, the tests are failed due to the lack of > UUID support. -- This message was sent by Atlassian Jira (v8.20.10#820010)