Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine
In directory sc8-pr-cvs1:/tmp/cvs-serv6798/hibernate/engine
Modified Files:
Cascades.java
Log Message:
* renamed remove() to evict()
* added lots of JavaDoc to SessionImpl
* factored infoString() methods out of SessionImpl
Index: Cascades.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/Cascades.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Cascades.java 19 Apr 2003 03:26:07 -0000 1.11
--- Cascades.java 21 Apr 2003 06:28:17 -0000 1.12
***************
*** 62,66 ****
void cascade(Session session, Object child) throws HibernateException {
log.trace("cascading to remove()");
! session.remove(child);
}
boolean shouldCascadeCollection(Object collection) {
--- 62,66 ----
void cascade(Session session, Object child) throws HibernateException {
log.trace("cascading to remove()");
! session.evict(child);
}
boolean shouldCascadeCollection(Object collection) {
|