Details
-
New Feature
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
It would be nice to add a method to retrieve the primary key of an entity on its EntityRepository (by using entityManagerFactory.getPersistenceUnitUtil().getIdentifier(entity)).
This would help implementing generic JSF DataModel based on EntityRepository, especially for methods like getRowKey().
Attachments
Issue Links
- requires
-
OPENJPA-2590 PersistenceUnitUtil#getIdentifier should return id's value
- Open