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 Pawel Omelko, 1 year ago
via Hibernate JIRA by Pawel Omelko, 2 years ago
via Stack Overflow by Raghu
, 2 years ago
java.lang.String cannot be cast to java.lang.Integer
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 user2492364
, 2 years ago
java.lang.String cannot be cast to java.lang.Integer
java.lang.ClassCastException: java.lang.String 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.loader.Loader.bindPositionalParameters(Loader.java:1732)	at org.hibernate.loader.Loader.bindParameterValues(Loader.java:1703)	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1593)	at org.hibernate.loader.Loader.doQuery(Loader.java:696)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)	at org.hibernate.loader.Loader.doList(Loader.java:2232)	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)	at org.hibernate.loader.Loader.list(Loader.java:2124)	at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:118)	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1597)	at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)