I have create a package and 2 classes in it and want to retrieve data.

---info.jtrac.dao (Package)
-----UserDao.java (Interface)
-----UserDaoImpl.java (Class implement above interface)

public class UserDetailsDaoImpl extends HibernateDaoSupport {

I create object of *UserDaoImpl* in *Login* and want to get data of user in
*Login* page.

In UserDaoImpl i write */List<User> user = getHibernateTemplate().find("from
User user where user.userName = ?", username);/*

It give me NullPointerException Exception all time.

How can i resolve this error??

Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to