I didn't really wanted to implement the whole method but I will fix this things since I forgot to throw the exception when it is not a NamedNativeQuery