Currently, iam learning for using Hibernate Criteria API for retrieving data from Database...
how to select some field with Criteria API?..
example i have a table which has 5 columns..
how to get of the some field of the table?..
i created the Criteria API like this :
but the query which resulted is
Select columnA, columnB, columnC, columnD, columnE
How to get some field by using CriteriaAPI?..
example.. i want to retrieve query by using select like this..
Select columnA, columnB
Thanks in advance..
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]