Joined: Mon Apr 15, 2013 10:56 am Posts: 2
|
my requirement is, i would create instance of this entity class and set values for few attributes. This does not include setting up of ID. how to fetch result which matches with this given data ?
eg.
emp.setName("aaa"); emp.setSalary(10000); emp.setLocation("UK");
<??>.find(emp) <-- note here i am just passing the insance of EmployeeE which is mapped with Employee table.
let me know how to acheive this?"
i have a fair memory this was there in hibernate2. but now i dont see this it in hibernate3
|
|