rogerio.saulo wrote:
Hi All,
I´m trying to execute an simple bulk delete estatement in a table that has an composite primary key and it is not working.
Suppose I have an entity (Table1VO) that have an pk mapped attribute to a PK class (Table1PK) that have an id_1 and id_2 fields.
My hql is :
delete Table1VO where pk.id_1 = ?
Hibernate tell me that not recognize the pk.id_1 field.
What I´m doing wrong???
Thanks
Rogerio
Can you post your mapping files, class files and stack trace as the instructions suggest ?