[jboss-dev-forums] [JBoss AS 7 Development] - org.hibernate.internal.SessionImpl cannot be cast to org.hibernate.classic.Session
Machara Rao P
do-not-reply at jboss.com
Tue Jul 31 07:02:11 EDT 2012
Machara Rao P [https://community.jboss.org/people/machararao] created the discussion
"org.hibernate.internal.SessionImpl cannot be cast to org.hibernate.classic.Session"
To view the discussion, visit: https://community.jboss.org/message/751185#751185
--------------------------------------------------------------
HI
I am newly joined in this community! i am facing some issue when i try to use Hibernate Search in JBoss 7 i am getting following exception
14:46:01,104 WARN [org.hibernate.internal.SessionFactoryImpl] (http-localhost-127.0.0.1-8079-1) HHH000008: JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession()
14:47:32,172 ERROR [stderr] (http-localhost-127.0.0.1-8079-2) java.lang.ClassCastException: org.hibernate.internal.SessionImpl cannot be cast to org.hibernate.classic.Session
14:47:32,174 ERROR [stderr] (http-localhost-127.0.0.1-8079-2) at org.hibernate.search.impl.FullTextSessionImpl.<init>(FullTextSessionImpl.java:105)
14:47:32,174 ERROR [stderr] (http-localhost-127.0.0.1-8079-2) at org.hibernate.search.Search.getFullTextSession(Search.java:45)
14:47:32,175 ERROR [stderr] (http-localhost-127.0.0.1-8079-2) at org.hibernate.search.jpa.impl.FullTextEntityManagerImpl.getFullTextSession(FullTextEntityManagerImpl.java:71)
14:47:32,176 ERROR [stderr] (http-localhost-127.0.0.1-8079-2) at org.hibernate.search.jpa.impl.FullTextEntityManagerImpl.createFullTextQuery(FullTextEntityManagerImpl.java:100)
please help me solving this issue
Thanks in advance
Machara
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751185#751185]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120731/fef05dbe/attachment.html
More information about the jboss-dev-forums
mailing list