mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-26 05:14:57 +00:00
HHH-11250 - Fixed NullPointerException when defined filter name contains a dot.
This commit is contained in:
parent
1d294cb23d
commit
7e160d7b49
@ -139,7 +139,7 @@ public Type getFilterParameterType(String filterParameterName) {
|
||||
}
|
||||
|
||||
public static String[] parseFilterParameterName(String filterParameterName) {
|
||||
int dot = filterParameterName.indexOf( '.' );
|
||||
int dot = filterParameterName.lastIndexOf( '.' );
|
||||
if ( dot <= 0 ) {
|
||||
throw new IllegalArgumentException( "Invalid filter-parameter name format" );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user