1600 PMP mock questions 1400 CAPM mock questions 800 SCJP 6 mock questions 600 OCAJP 7 mock questions 590 OCPJP 7 mock questions 556 SCWCD 5 mock questions 500 OCEJWCD 6 mock questions pdfDownload (java,struts, hibernet etc)
 

Recent Questions

!!! Hibernate Frequently Asked Questions !!!

Criteria Query Two Condition

!!!Answer!!!- From Technical Expert

Criteria Query Two Condition- Example
<class name="com.bean.Organization" table="ORGANIZATION">
<id name="orgId" column="ORG_ID" type="long">
<generator class="native"/>
</id>
<property name="organizationName" column="ORGANISATION_NAME" type="string" length="500"/>
<property name="town" column="TOWN" type="string" length="200"/>
<property name="statusCode" column="STATUS" type="string" length="1"/>
</class>
List of organisation where town equals to pune and status = "A".

List organizationList = session.createCriteria(Organization.class)
.add(Restrictions.eq("town","pune"))
.add(Restrictions.eq("statusCode","A"))
.list();

Answered By : fgfgdg Replied Date : Jan 24 2012
Answer : gfgfgf


Answered By : null Replied Date : Feb 1 2014
Answer :


Answered By : null Replied Date : Dec 5 2013
Answer :


Answered By : null Replied Date : Oct 24 2013
Answer :


Answered By : null Replied Date : Oct 16 2013
Answer :


Answered By : null Replied Date : Oct 9 2013
Answer :


Answered By : null Replied Date : Feb 14 2014
Answer :


Answered By : null Replied Date : Apr 5 2014
Answer :


Answered By : null Replied Date : Apr 17 2014
Answer :


Answered By : null Replied Date : Nov 3 2014
Answer :


Answered By : null Replied Date : Jan 6 2015
Answer :


Answered By : null Replied Date : Jul 1 2015
Answer :


Answered By : null Replied Date : Apr 18 2016
Answer :


Answered By : null Replied Date : Apr 14 2017
Answer :


Answered By : null Replied Date : Jul 16 2017
Answer :


 

You can also contribute to this answer:

Your Name:
Answer:

 
Ask Question and get answer from Expert.
View Answers List from Expert.

Reviews and Comments


PMP, CAPM, PMI is a registered certification mark of the Project Management Institute, Inc

Copyright © www.techfaq360.com 2016


About US | Contact US | Privacy Policy | Terms and Conditions  | Website disclaimer  | Cancellation and Refund Policy  | Shipping & Delivery Policy