ClassCastException « Search « JPA Q&A





1. Problems searching Hibernate Forums : ClassCastException    forum.hibernate.org

It means for the last few days I always get this : Network Error (tcp_error) A communication error occurred: "" The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time. For assistance, contact your network support team.

3. Receiving ClassCastException while searching for a date    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: hibernate-3.2.1.ga Mapping documents: Code:

4. Hibernate Search ClassCastException    forum.hibernate.org

Hi, I'm trying to run a search using the Restrictions class on an Oracle 9i database. I'm creating 2 timestamps for start and end dates and creating Restrictions in the search Criteria in the form of searchCriteria. add(Restriction.ge(startStamp)); add(Restriction.ge(endStamp)); This however gives me a ClassCastException Caused by: java.lang.ClassCastException: java.sql.Timestamp at com.bt.orsim.services.BusinessMessageManager.getBusinessMessagesByFilter(BusinessMessageManager.java:409) Please is there anyone who can help me with this ...