1. Why we are getting currentsession twice in the application? stackoverflow.comRecently I did some work around to check, where to give the session related code in our application, ie .Getting current session (sessionFactory.getCurrentSession()); I have seen this code in place twice in the ... |
2. Web Application: DAO and JPA for data layer stackoverflow.comI'm trying to make a secure login that prevents SQLInjection using the OWASP specification for hashing but for the other parts of my application I'm thinking of using JPA, ... |
3. two webapps, one dao? forum.hibernate.orgFolks, I have two webapp contexts under tomcat, and I want them to use a common dao. So I want to split out our hibernate classes and the hbms into their own jar file... like their own eclipse project... DAO. Then make my two webapps dependent on this DAO project. Is this possible, or do I need to have the *.hbm.xml ... |