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