Tag: exetute hql
Part 3 HQL, Different Ways Of Executing HQL Commands
by  Java4s | 6 Comments
  [ Ask Question ]
We can execute our HQL command in 3 ways, like by selecting total object, partial object (more than one column), partial object (with single column). Let us see.. Different Ways Of Executing HQL Case 1: [ Selecting Complete…
Part 5 Hibernate Query Language, Passing Runtime Values
by  Java4s | 11 Comments
  [ Ask Question ]
Now we will see, how to pass the values at time time while using the HQL select query, actually same concept for 3 cases. Required files… Product.java (POJO class) Product.hbm.xml (Xml mapping file ) hibernate.cfg.xml (Xml configuration file) ForOurLogic.java…