Skip to content

I am getting an exception that there are no parameters to a native queries when there are #47105

Answered by edeandrea
lordofthejars asked this question in Q&A
Discussion options

You must be logged in to vote

You're using createNativeQuery not createNamedQuery. createNativeQuery expects the query itself, whereas createNamedQuery expects the name of a named query.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lordofthejars
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants