posted 16 years ago
Hi all,
I have two tables with the following columns :
Table name : employee
empid | int(11) | YES | | NULL
ename | varchar(20) | YES | | NULL
mgrid | varchar(20) | YES | | NULL
Table name : link
empid | int(11) | YES | | NULL
mgrid | varchar(20) | YES | | NULL
I would like to use the a criteria and mapping for the following condition in sql :
the mapping i have created looks like the below:
and
NewFile.hbm
I am however getting errors like
org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of Honey.setLast
Please help me asap.
[ November 03, 2008: Message edited by: Paul Sturrock ]