I had this issue, and solved. This was due to the WHERE clause contains String value instead of integer value.
More Related Contents:
- How to use Postgres JSONB datatype with JPA?
- Difference between FetchType LAZY and EAGER in Java Persistence API?
- How to map a composite key with JPA and Hibernate?
- How to map an entity field whose name is a reserved word in JPA
- Do I need elements in persistence.xml?
- The JPA hashCode() / equals() dilemma
- What’s the difference between JPA and Hibernate? [closed]
- What is the “owning side” in an ORM mapping?
- What is the solution for the N+1 issue in JPA and Hibernate?
- JPA CascadeType.ALL does not delete orphans
- What is the difference between persist() and merge() in JPA and Hibernate?
- JPA: How to have one-to-many relation of the same Entity type
- what is @JoinColumn and how it is used in Hibernate
- How to solve the LazyInitializationException when using JPA and Hibernate
- JPA – Persisting a One to Many relationship
- How do I properly cascade save a one-to-one, bidirectional relationship on primary key in Hibernate 3.6
- JPA: Implementing Model Hierarchy – @MappedSuperclass vs. @Inheritance
- Is there such thing CASE expression in JPQL?
- How To Define a JPA Repository Query with a Join
- Doing an “IN” query with Hibernate
- Specifying an Index (Non-Unique Key) Using JPA
- Disable caching in JPA (eclipselink)
- The onFlushDirty Hibernate Interceptor method is never called
- How to map a map JSON column to Java Object with JPA
- Is it possible to write a generic enum converter for JPA?
- JPA: JOIN in JPQL
- Difference between @MapKey, @MapKeyColumn and @MapKeyJoinColumn in JPA and Hibernate
- Clarifying terminology – What does “hydrating” a JPA or Hibernate entity mean when fetching the entity from the DB
- Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
- What is a JPA implementation?