on 09-02-2005 11:07 PM
Hi,
I've been trying to port an application from Apache to Netweaver WAS. We use Hibernate. I'm getting a null pointer in reference to the Hibernate session. It seems that Hibernate is not loading properly. I'm wondering if it has to do with the location of the cfg.xml files. They were under WEB/INF (which is where Apache wants them) but I've tried putting them under /Classes and that doesn't work either. Any help or ideas appreciated.
thanks,
LG
I've been using Hibernate on SAP Web AS as well.
I put the hibernate.cfg.xml file under WEB-INF/classes and the ***.hbm.xml files in the /source at the same location as the corresponding java class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.