[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model ...
Christian Bauer
christian at hibernate.org
Sat Sep 1 15:37:04 EDT 2007
User: cbauer
Date: 07/09/01 15:37:04
Modified: examples/wiki/src/main/org/jboss/seam/wiki/core/model
Node.java
Log:
Recursively deleted directory updates cache correctly
Revision Changes Path
1.22 +1 -0 jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/Node.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Node.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/Node.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- Node.java 29 Aug 2007 00:29:22 -0000 1.21
+++ Node.java 1 Sep 2007 19:37:03 -0000 1.22
@@ -89,6 +89,7 @@
// we don't want that because there is a FK constraint with cascading delete on it in the database!
@JoinColumn(name = "PARENT_NODE_ID", nullable = false)
@org.hibernate.annotations.IndexColumn(name = "DISPLAY_POSITION")
+ @org.hibernate.annotations.OptimisticLock(excluded = true)
private List<Node> children = new ArrayList<Node>();
@Column(name = "DISPLAY_POSITION", nullable = false, updatable = false, insertable = false)
More information about the jboss-cvs-commits
mailing list