Generic Method is not recognized
Description
Environment
Activity
![](https://secure.gravatar.com/avatar/6db67528c0dfb637ac5d957a22643392?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGM-1.png)
Gunnar Morling September 4, 2015 at 6:59 AM
We may do a 5.2.2 bugfix release. We don't have one scheduled, I'd wait a bit longer to see whether other bug fixes pop up that should be included. For the time being you could try the snapshot version published to the JBoss Maven repo (see here) once the PR has been merged and this issue is resolved.
![](https://secure.gravatar.com/avatar/72eaa53a0adc08ce94e09257c5bd9a60?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FER-6.png)
Eugene Rabii September 4, 2015 at 6:44 AM
@gunnar you are awesome guys . thx a lot! Is that target for some specific release of HV? I'd like to give it a spin.
![](https://secure.gravatar.com/avatar/6db67528c0dfb637ac5d957a22643392?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGM-1.png)
Gunnar Morling September 3, 2015 at 3:20 PM
Thanks for providing the example, figured what's going on now.
The BV spec does not explicitly cover the case of passing a super-type method / bridge Method
object to validateParameters()
and it's clearly not how we envisioned that method to be invoked. Still I think it'd be beneficial if HV does the proposed handling. Submitted PR #425 which takes care of that.
![](https://secure.gravatar.com/avatar/72eaa53a0adc08ce94e09257c5bd9a60?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FER-6.png)
Eugene Rabii September 1, 2015 at 6:30 AMEdited
hello @gunnar, sorry, so taking your example here - things are pretty easy once you specify this:
You are actually explicitly telling what the T param is : UUID. What if you specify Object.class? Then it will break.
I've also opened the issue in spring and they sort of hacked it in the spring itself, but it seems that the problem is still in hibernate.
Here is the link: https://jira.spring.io/browse/SPR-12237
![](https://secure.gravatar.com/avatar/6db67528c0dfb637ac5d957a22643392?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGM-1.png)
Gunnar Morling August 31, 2015 at 6:44 AM
Hey , any progress with the test case? Anything we can help with to reproduce the issue? Thx!
Assignee
![](https://secure.gravatar.com/avatar/6db67528c0dfb637ac5d957a22643392?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGM-1.png)
Reporter
![](https://secure.gravatar.com/avatar/72eaa53a0adc08ce94e09257c5bd9a60?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FER-6.png)
Bug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
![](https://secure.gravatar.com/avatar/72eaa53a0adc08ce94e09257c5bd9a60?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FER-6.png)
![](https://secure.gravatar.com/avatar/6db67528c0dfb637ac5d957a22643392?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGM-1.png)
![](https://secure.gravatar.com/avatar/12df4da7e3351be801bc16b66caf8038?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FHF-0.png)
So, here is a small use case. I have one interface :
And impl:
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?