You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Daniel Cunha (soro) (JIRA)" <ji...@apache.org> on 2015/07/01 13:36:04 UTC
[jira] [Updated] (DELTASPIKE-910) Add
EntityRepository.getPrimaryKey(E entity)
[ https://issues.apache.org/jira/browse/DELTASPIKE-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Cunha (soro) updated DELTASPIKE-910:
-------------------------------------------
Fix Version/s: 1.4.2
> 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: Daniel Cunha (soro)
> Priority: Trivial
> Fix For: 1.4.2
>
>
> 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)