August 7, 2007 at 2:44 AM

When I run above example. I am getting following:
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
Query using Hibernate Query Language
Hibernate: select insurance0_.ID as col_0_0_ from insurance insurance0_ where (insurance0_.ID='1')
could not execute query using iterate

This is the same case for all the select queries. It always complain "Could not execute query using iterate". Can you please suggest me a solution?

View All Comments | View Tutorial
Related Tutorial and Articles
Advertisements Advertisements