According to the JPA specification:
More, why do you want to use a ResultTransformer when you can use the constructor result? The ResultTransformer expects an Object[] result set, so try to change the Criteria API result set to Object[] and then apply the ResultTransformer. |