[
https://issues.apache.org/jira/browse/DELTASPIKE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek resolved DELTASPIKE-974.
-----------------------------------------
Resolution: Won't Fix
Assignee: (was: Daniel Cunha (soro))
it turned out that the issue is caused by a dependent-scoped
EntityManagerResolver.
> support other pk than long
> --------------------------
>
> Key: DELTASPIKE-974
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-974
> Project: DeltaSpike
> Issue Type: Improvement
> Components: Data-Module
> Affects Versions: 1.4.2
> Reporter: Gerhard Petracek
>
> currently it's possible to use e.g.:
> @Repository
> public interface MyRepository extends EntityRepository<MyEntry, Long> {
> MyEntry findByProperty(String property);
> }
> the same fails once the pk is e.g. a string.
> ->
> @Repository
> public interface MyRepository extends EntityRepository<MyEntry, String> {
> MyEntry findByProperty(String property);
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)