openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <>
Subject PersistenceUnitUtil.getIdentifier() Implementation...
Date Tue, 19 Feb 2013 19:45:15 GMT
I'm having an issue where the getIdentifier() method is returning null on an entity with the
id set.  I have a class like this:

public class UuidEntity
 private String id = UUID.randomUUID().toString();


My entities *always* have an id value.  Shouldn't getIdentifier() always return the value
of the "id" field?

View raw message