Hibernate Initial SessionFactory creation failed

Posted by user364746 on Stack Overflow See other posts from Stack Overflow or by user364746
Published on 2010-06-15T11:47:55Z Indexed on 2010/06/15 11:52 UTC
Read the original article Hit count: 188

Filed under:
|
|
|

Hello..

I'm trying to use hibernate to fill my jsf selectonemenu in ApplicationBean (in Liferay). The problem is that I got Initial SessionFactory creation failed problem. Before putting my functions in the applicationbean I was setting them in sessionbean and I got no error.

For now the full error Initial SessionFactory creation failed.java.lang.ClassCastException: org.hibernate.type.StringType cannot be cast to org.hibernate.type.VersionType

Thanks

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about jsf