Gerhard Petracek created DELTASPIKE-974:
-------------------------------------------
Summary: 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
Assignee: Daniel Cunha (soro)
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)