I just did a fresh checkout from CVS and updated my hibernate version. I can still retrieve data (and children) just fine, but not save it.
I noticed now that <composite-id>'s "unsaved-value" only allows "any" and "none" - however, neither of these work for me: <composite-id name="id" unsaved-value="none" class="com.comcast.cable.dmc.itd.cct.persistence.CCRChildId"> <key-property column="CCR_ID" name="ccrId" type="long"/> <key-property column="RECORD_NUM" name="recordNum" type="long"/> </composite-id> results in: [junit] WARN [main] JDBCExceptionReporter.logExceptions(35) | SQL Error: 1407, SQLState: 72000 [junit] ERROR [main] JDBCExceptionReporter.logExceptions(42) | ORA-01407: cannot update ("CCTADM IN"."CMCF_MPS"."CCR_ID") to NULL If I set unsaved-value="any", then I get: [junit] WARN [main] JDBCExceptionReporter.logExceptions(35) | SQL Error: 1, SQLState: 23000 [junit] ERROR [main] JDBCExceptionReporter.logExceptions(42) | ORA-00001: unique constraint (CCT ADMIN.CMCF_MPS_PK) violated My <bag> mapping to this class is: <bag role="mpsList" table="CMCF_MPS" cascade="all" order-by="record_num"> <key column="CCR_ID"/> <one-to-many class="com.comcast.cable.dmc.itd.cct.persistence.CMCFMps"/> </bag> I guess I'll remove my "bag" mappings and populate my child object manually as this obviously isn't working for me ;-) Thanks, Matt ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel