Tag: select query
Example On Hibernate Select Query
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
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
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…