I have very limited hands on Hibernate experience, so please be kind.
I have a table CURRRPT -------- I_Report integer I_Remark_ID integer C_Remark_Type char(2) T_Remark varchar(80)
The CURRRPT table connects to a Report table via the I_Report field and the I_Remark_ID is a generated number as there will be many rows.
I have an object for the Report Table and setup 2 objects for the CUrrrpt. 1st object extends the Report object and contains a List of the 2nd object -- Remarks object which contains i_remark_id, c_remark_type, t_remark.
The issue I am having is that my Hibernate mappings for these objects. I can add data okay and read it. The issue comes upon deletion as I have 2 pointers looking at the same data and get an already updated error. Not sure how to handle this situation and any input would be appreciated.
[ Edited to use code tags - Paul Sturrock ] [ October 31, 2006: Message edited by: Paul Sturrock ]