You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2015/08/05 23:30:04 UTC
[jira] [Updated] (DELTASPIKE-974) support other pk than long
[ 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)