Tag: select
Example On Hibernate Select Query
by  Java4s | 18 Comments
  [ Ask Question ]
This is an example for loading the object from the database remember in the hibernate loading 1 object from the database means applying select command (select * from _____) for fetching one complete record from the database. Files required…
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 )…
Criteria Query, Hibernate Criteria Query Introduction
by  Java4s | 8 Comments
  [ Ask Question ]
Unlike HQL, Criteria is only for selecting the data from the database, that to we can select complete objects only not partial objects, in fact by combining criteria and projections concept we can select partial objects too we will…