mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 08:05:05 +00:00
handle generic-typed parameters of query methods
This commit is contained in:
parent
19023a491e
commit
ebd72f8470
@ -284,6 +284,7 @@ private String getConstantName() {
|
||||
return stem + "_"
|
||||
+ paramTypes.stream()
|
||||
.filter(type -> !isSpecialParam(type))
|
||||
.map(type -> type.indexOf('<')>0 ? type.substring(0, type.indexOf('<')) : type)
|
||||
.map(StringHelper::unqualify)
|
||||
.map(type -> type.replace("[]", "Array"))
|
||||
.reduce((x,y) -> x + '_' + y)
|
||||
|
Loading…
x
Reference in New Issue
Block a user