Tag: hql select query
Part 4 Hibernate Query Language, Using HQL Select Query
by  Java4s | 23 Comments
  [ Ask Question ]
Let us see the program on HQL select command, which is going to cover complete object, partial object (More than one column), partial object (Single column) here are the required files…. Product.java (POJO class) Product.hbm.xml (Xml mapping file )…
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…