This post originated from an RSS feed registered with Java Buzz
by Kiran Kumar.
Original Post: Hibernate criteria query | restriction projections Order by examples
Feed Title: Java,Maven,Linux,Unix,Hadoop,HDFS,Hive basic tutorials,examples
Feed URL: http://www.cloudhadoop.com/feeds/posts/default
Feed Description: My Blog on Java,Maven Unix, Linux,Hadoop,MySQL,tutorial with examples
Hibernate criteria API:-
criteria are used to select the specific type of data from the database.
Let us take the usecase, where website has search capability provided, you have to search the website with different conditions, To handle this using hibernate, we can compose different parameters to Criteria object and make custom sql queries to database to retireve the data.
Hibernate criteria