I have seen several people asking about the place to put the config file of Hibernate, but not any conclusive answer until now...
I created a external library in WAS (I verified using Visual Admin that the lib was correctly deployed). In my Web Dynpro References -> Library Reference I add the library in the format Provider Name/Library Name: "sap.com/hiblibs"
<b> Where can I store the hibernate.cfg.xml?</b> I have tried put it in all web dynpro folders!
<b> This is my source code:</b>
Configuration cfg = new Configuration();
<b> The error:</b>
org.hibernate.HibernateException: hibernate.conf.xml not found
I have read all forum topics about this, including: