[
https://issues.apache.org/jira/browse/DELTASPIKE-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek updated DELTASPIKE-910:
----------------------------------------
Assignee: Thomas Hug
> Add EntityRepository.getPrimaryKey(E entity)
> --------------------------------------------
>
> Key: DELTASPIKE-910
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-910
> Project: DeltaSpike
> Issue Type: New Feature
> Components: JPA-Module
> Reporter: Xavier Dury
> Assignee: Thomas Hug
> Priority: Trivial
>
> 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()}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)