Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine
In directory sc8-pr-cvs1:/tmp/cvs-serv12928/hibernate/engine
Modified Files:
Cascades.java
Log Message:
* renamed remove() to evict()
Index: Cascades.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/Cascades.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Cascades.java 21 Apr 2003 06:28:17 -0000 1.12
--- Cascades.java 21 Apr 2003 06:34:46 -0000 1.13
***************
*** 19,23 ****
/**
! * Implements cascaded save / delete / update / remove
* @see net.sf.hibernate.type.AssociationType
*/
--- 19,23 ----
/**
! * Implements cascaded save / delete / update / evict
* @see net.sf.hibernate.type.AssociationType
*/
***************
*** 57,65 ****
/**
! * @see net.sf.hibernate.Session#remove(Object)
*/
! public static final CascadingAction ACTION_REMOVE = new CascadingAction() {
void cascade(Session session, Object child) throws HibernateException {
! log.trace("cascading to remove()");
session.evict(child);
}
--- 57,65 ----
/**
! * @see net.sf.hibernate.Session#evict(Object)
*/
! public static final CascadingAction ACTION_EVICT = new CascadingAction() {
void cascade(Session session, Object child) throws HibernateException {
! log.trace("cascading to evict()");
session.evict(child);
}
***************
*** 109,116 ****
public static final int CASCADE_ON_UPDATE = 0;
/**
! * A cascade point that occurs just after removal of the parent entity from the
* session cache
*/
! public static final int CASCADE_ON_REMOVE = 0;
// The allowable cascade styles for a property:
--- 109,116 ----
public static final int CASCADE_ON_UPDATE = 0;
/**
! * A cascade point that occurs just after eviction of the parent entity from the
* session cache
*/
! public static final int CASCADE_ON_EVICT = 0;
// The allowable cascade styles for a property:
***************
*** 128,132 ****
};
/**
! * save / delete / update / remove
*/
public static final CascadeStyle STYLE_ALL = new CascadeStyle() {
--- 128,132 ----
};
/**
! * save / delete / update / evict
*/
public static final CascadeStyle STYLE_ALL = new CascadeStyle() {
|