My project is like this:
/src/main/java -thegamers -app.java -hibernateutil.java
can someone tell me where to put th
if it is not web project then do explicitly like that
new Configuration().configure( "pth/to/hibernate.cfg.xml").buildsessionfactory()
Hope this may help
@SiB pointed a link(mkyong's web site). It is explained well there.