2 Replies Latest reply on Sep 22, 2007 2:15 PM by Christian Pietsch

    ClassCastException with 2.0.0.CR1

    Christian Pietsch Newbie

      Hi!

      Today I tried to migrate a Seam production application to CR1. Basically it's working with one exception:

      I'm using Hibernates DetachedCriteria a lot and since the update I'm getting the following error:

      Caused by: java.lang.ClassCastException: org.hibernate.search.impl.FullTextSessionImpl
       at org.jboss.seam.persistence.HibernateSessionProxy.getDelegateSessionImplementor(HibernateSessionProxy.java:401)
       at org.jboss.seam.persistence.HibernateSessionProxy.list(HibernateSessionProxy.java:566)
       at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
       at de.dvdb.generic.search.AbstractSearch.retrieveItems(AbstractSearch.java:261)
      


      I'm using Jboss 4.2.1.

      - Chris