ClassCastException « Search « JPA Q&A

1. Problems searching Hibernate Forums : ClassCastException

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

Need help with Hibernate? Read this first: ... AskForHelp Hibernate version: Mapping documents: Code:

4. Hibernate Search ClassCastException

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(; add(; This however gives me a ClassCastException Caused by: java.lang.ClassCastException: java.sql.Timestamp at Please is there anyone who can help me with this ...