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 Hibernate JIRA by Michael Wyraz, 1 year ago
java.lang.Long cannot be cast to java.lang.Integer
via Hibernate JIRA by Michael Wyraz, 2 years ago
java.lang.Long cannot be cast to java.lang.Integer
via Stack Overflow by Raghu
, 2 years ago
java.lang.String cannot be cast to java.lang.Integer
via Hibernate JIRA by Pawel Omelko, 1 year ago
via Hibernate JIRA by Pawel Omelko, 2 years ago
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer at org.hibernate.type.IntegerType.set(IntegerType.java:64) at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:154) at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136) at org.hibernate.param.PositionalParameterSpecification.bind(PositionalParameterSpecification.java:68) at org.hibernate.loader.hql.QueryLoader.bindParameterValues(QueryLoader.java:514) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1593)