fix namedNativeQuery usage