So, here is a small use case. I have one interface :
{code} public interface IJobApi<ID, T> { Optional<Job<ID, T>> findJob(ID jobId); } {code}
And impl:
{code} @Validated // Springs validated public class JobApi implementns implements IJobApi<UUID, EntityKey>{ public Optional<Job<UUID, String>> findJob(UUID jobId) { .... something } } {code}
It fails with : java.lang.IllegalArgumentException: HV000162, does not specify the constructor/method findJob.
It could be an issue in hibernate or in may be in spring?
|