java.lang.IllegalArgumentException: Query select myEntity from MyEntity myEntity where myEntity.id = ?1, query hint eclipselink.cursor.scrollable.result-set-type is not valid for this type of query.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Adrodoc55
, 1 year ago
Query select myEntity from MyEntity myEntity where myEntity.id = ?1, query hint eclipselink.cursor.scrollable.result-set-type is not valid for this type of query.
java.lang.IllegalArgumentException: Query select myEntity from MyEntity myEntity where myEntity.id = ?1, query hint eclipselink.cursor.scrollable.result-set-type is not valid for this type of query.
at org.eclipse.persistence.internal.jpa.QueryHintsHandler$ResultSetTypeHint.applyToDatabaseQuery(QueryHintsHandler.java:914)
at org.eclipse.persistence.internal.jpa.QueryHintsHandler$Hint.apply(QueryHintsHandler.java:369)
at org.eclipse.persistence.internal.jpa.QueryHintsHandler$Hint.apply(QueryHintsHandler.java:347)
at org.eclipse.persistence.internal.jpa.QueryHintsHandler.apply(QueryHintsHandler.java:172)
at org.eclipse.persistence.internal.jpa.QueryImpl.setHintInternal(QueryImpl.java:767)
at com.querydsl.jpa.EclipseLinkHandler.iterate(EclipseLinkHandler.java:61)
at com.querydsl.jpa.impl.AbstractJPAQuery.iterate(AbstractJPAQuery.java:191)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.