java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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 org.eclipse.persistence.internal.jpa.EJBQueryImpl.setHint(EJBQueryImpl.java:282) at com.querydsl.jpa.EclipseLinkHandler.iterate(EclipseLinkHandler.java:61) at com.querydsl.jpa.impl.AbstractJPAQuery.iterate(AbstractJPAQuery.java:191)
No Bugmate found.