Posts Tagged ‘hibernate’

I’m developing a web application using Apache Tapestry, SpringFramework and Hibernate. I’m new to all these technologies.

I was having a problem accessing database because whenever I tried to use my DAO classes I got a NullPointerException. The reason was that the sessionFactory variable was null.

I searched lot’s of thread forums and they always pointed to the configuration of the application, something the I reviewed over and over again using provided examples. It took me 2 days of work to find out why this was happening. That’s the price you pay for being a newbie.


Read Full Post »