kasimmm

Results 4 comments of kasimmm

It said something like this ``` java.lang.IllegalArgumentException: Parameter value [PENDING] did not match expected type [com.abc.model.AuthKey$Status (n/a)] at org.jinq.jpa.JPAQueryComposer.fillQueryParameters(JPAQueryComposer.java:127) at org.jinq.jpa.JPAQueryComposer.executeAndReturnResultIterator(JPAQueryComposer.java:167) at org.jinq.orm.stream.QueryJinqStream.createWrappedStream(QueryJinqStream.java:37) at org.jinq.orm.stream.LazyWrappedStream.realizeStream(LazyWrappedStream.java:41) at org.jinq.orm.stream.LazyWrappedStream.collect(LazyWrappedStream.java:227) at org.jinq.orm.stream.NonQueryJinqStream.toList(NonQueryJinqStream.java:492) ```...

Hmmmm still no luck with making it the top-level enum class. Ahhh just realised I forgot to mention that the parameter was actually passed from another service like this: `authKeyService.getAuthKey(Status.PENDING);`...

@my2iu - Yes using raw JPA solves the problem. - I also tried the other two suggestions you mentioned, and the other one from Stack Overflow (mapping unique ID with...

@my2iu Sorry for the late reply. I tried to replicate it with some sample code using same libs (hibernate-4.3.11, hibernate-jpa-2.0.1, etc.) but it worked just fine. The only difference is...