public List < T > getAllByHql ( String secondHalfOfHql , Object paramValue1 , Type paramType1 , Object paramValue2 , Type paramType2 ) { return getAllByHql ( secondHalfOfHql , new Object [ ] { paramValue1 , paramValue2 } , new Type [ ] { paramType2 , paramType2 } , null , null ) ; }
Get all by HQL with two pairs of parameterType - value