[ https://issues.apache.org/jira/browse/DELTASPIKE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek updated DELTASPIKE-974: ---------------------------------------- Description: 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. was: 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); } > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)