I use reflection to run a function in a Dao.
However, after : List<Hotel> size = (List<Hotel>)session.createQuery("from Hotel t").list(); , I can see the sql is printed out in MyEclipse console,...
Type: Posts; User: mosman; Keyword(s):
I use reflection to run a function in a Dao.
However, after : List<Hotel> size = (List<Hotel>)session.createQuery("from Hotel t").list(); , I can see the sql is printed out in MyEclipse console,...