Hello! I have a problem with primary key with UUID. The insert of a new data record does not work.
I get a NullPointerException Caused by: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "val" is null at org.apache.openjpa.util.ApplicationIds.fromPKValues(ApplicationIds.java:217) at org.apache.openjpa.enhance.ReflectingPersistenceCapable.pcNewObjectIdInstance(ReflectingPersistenceCapable.java:302) My entity looks like this @Id @GeneratedValue(strategy = GenerationType.UUID) @Column(name = "id", nullable = false, columnDefinition = "uuid") private UUID id; I have attached a small test project with the test case. Best regards, Malte
<<attachment: openjpauuid.zip>>