
Hi,
can any one tell me to select records from table using hibernate. Thanks

Please visit the following link:
The above link will provide you different hibernate examples.

List result = getSession().createCriteria(TopCampaign.class).add(Restrictions.eq("primaryKey",urrequiredID))).list();
You will get list type data.....................