I was able to make configBean way work by putting a separate hibernate.cfg.xml file. But, it is not accepting the annotation based entity and expected .hbm.xml file for defined Entity bean.
Is there a way to force it to use Annotation based session factory??
Any idea on why I could not spin using server.properties file??
Is there a way to force it to use Annotation based session factory??
Any idea on why I could not spin using server.properties file??
Comment