Daniel Heinrich created DELTASPIKE-822:
------------------------------------------
Summary: Repository method lookup in super interfaces
Key: DELTASPIKE-822
URL: https://issues.apache.org/jira/browse/DELTASPIKE-822
Project: DeltaSpike
Issue Type: Bug
Components: Data-Module
Affects Versions: 1.2.1
Reporter: Daniel Heinrich
When repository methods are looked up only methods from interfaces which are
implemented directly by the repository class or a super class are considered.
In the case of:
interface BaseRepository<T> extends EntityRepository<T,Long>
@Repository
interface UserRepository extends BaseRepository<User>
The UserRepository does not have any default repository methods at runtime.
NullPointerException at:
QueryHandler#createContext->CdiQueryInvocationContext()
this could be fixed at:
org.apache.deltaspike.data.impl.meta.RepositoryComponent#collectClasses
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)