Hibernate Criteria Expression- greater than
Aim:
To learn how to use greater than in our hibernate.
Problem:
To get stuname from table student in navalady database who get greater than 70 marks in tamil using greater than criteria expression.
Solution:
Step 1:
Create Hibernate Reverse Engineering wizard
Step 2:
Create HibernateUtil.java
Step 3:
Create POJO class and mapping files
Step 4:
Create jsp file named as GreaterThan.jsp
Include following coding into the GreaterThan.jsp
No comments:
Post a Comment