Use the same Mapping XML files,That two tables moved in Oracle 8i.
Hibernate: select autoinfo0_.AUTO_ID as AUTO_ID, autoinfo0_.LICENSE_PLATE as LICENSE_2_, autoinfo0_.OWNER_NO as OWNER_NO from auto_info autoinfo0_ where (LICENSE_PLATE='A00001' ) Hibernate: select people0_.OWNER_ID as OWNER_ID0_, people0_.NAME as NAME0_, people0_.ADDRESS as ADDRESS0_ from people people0_ where people0_.OWNER_ID=? Hibernate: select autoinfose0_.OWNER_NO as OWNER_NO__, autoinfose0_.AUTO_ID as AUTO_ID__, autoinfose0_.AUTO_ID as AUTO_ID0_, autoinfose0_.LICENSE_PLATE as LICENSE_2_0_, autoinfose0_.OWNER_NO as OWNER_NO0_ from auto_info autoinfose0_ where autoinfose0_.OWNER_NO=? Hibernate: delete from auto_info where AUTO_ID=?
Successfully deleted child record.
well,The biggest difference were: all operation depend on Spring Framework.
getHibernateTemplate().delete(persistable);
|