[jboss-cvs] jboss-seam/examples/wiki/src/etc/META-INF ...
Christian Bauer
christian at hibernate.org
Fri Aug 17 09:00:26 EDT 2007
User: cbauer
Date: 07/08/17 09:00:26
Modified: examples/wiki/src/etc/META-INF persistence-dev-war.xml
wiki.taglib.xml persistence-test-war.xml
persistence-prod-war.xml
Log:
Major refactoring of core data schema and some new features
Revision Changes Path
1.10 +8 -0 jboss-seam/examples/wiki/src/etc/META-INF/persistence-dev-war.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: persistence-dev-war.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/persistence-dev-war.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- persistence-dev-war.xml 12 Jun 2007 12:29:59 -0000 1.9
+++ persistence-dev-war.xml 17 Aug 2007 13:00:26 -0000 1.10
@@ -15,6 +15,8 @@
<!-- Automatic schema export and drop -->
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
+ <!--
+ -->
<!-- Logging -->
<property name="hibernate.show_sql" value="true"/>
@@ -66,6 +68,12 @@
<property name="hibernate.ejb.classcache.org.jboss.seam.wiki.core.model.Comment"
value="nonstrict-read-write, WikiComment"/>
+ <!-- Nested Set handling through special Hibernate event listeners -->
+ <property name="hibernate.ejb.event.post-insert"
+ value="org.jboss.seam.wiki.core.nestedset.NestedSetPostInsertEventListener"/>
+ <property name="hibernate.ejb.event.post-delete"
+ value="org.jboss.seam.wiki.core.nestedset.NestedSetPostDeleteEventListener"/>
+
</properties>
</persistence-unit>
1.14 +7 -1 jboss-seam/examples/wiki/src/etc/META-INF/wiki.taglib.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: wiki.taglib.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/wiki.taglib.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- wiki.taglib.xml 6 Jul 2007 14:38:37 -0000 1.13
+++ wiki.taglib.xml 17 Aug 2007 13:00:26 -0000 1.14
@@ -81,7 +81,7 @@
<function>
<function-name>length</function-name>
<function-class>org.jboss.seam.wiki.util.WikiUtil</function-class>
- <function-signature>int lenth(java.lang.String)</function-signature>
+ <function-signature>int length(java.lang.String)</function-signature>
</function>
<function>
@@ -102,6 +102,12 @@
<function-signature>int getSessionTimeoutSeconds()</function-signature>
</function>
+ <function>
+ <function-name>hasMessage</function-name>
+ <function-class>org.jboss.seam.wiki.util.WikiUtil</function-class>
+ <function-signature>boolean hasMessage(java.lang.String,java.lang.String)</function-signature>
+ </function>
+
<tag>
<tag-name>formattedText</tag-name>
<handler-class>org.jboss.seam.wiki.core.ui.WikiFormattedTextHandler</handler-class>
1.6 +6 -1 jboss-seam/examples/wiki/src/etc/META-INF/persistence-test-war.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: persistence-test-war.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/persistence-test-war.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- persistence-test-war.xml 9 Jul 2007 17:13:50 -0000 1.5
+++ persistence-test-war.xml 17 Aug 2007 13:00:26 -0000 1.6
@@ -22,7 +22,7 @@
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<!-- Logging -->
- <property name="hibernate.show_sql" value="true"/>
+ <property name="hibernate.show_sql" value="false"/>
<property name="hibernate.use_sql_comments" value="true"/>
<property name="hibernate.format_sql" value="false"/>
@@ -71,6 +71,11 @@
<property name="hibernate.ejb.classcache.org.jboss.seam.wiki.core.model.Comment"
value="nonstrict-read-write, WikiComment"/>
+ <!-- Nested Set handling through special Hibernate event listeners -->
+ <property name="hibernate.ejb.event.post-insert"
+ value="org.jboss.seam.wiki.core.nestedset.NestedSetPostInsertEventListener"/>
+ <property name="hibernate.ejb.event.post-delete"
+ value="org.jboss.seam.wiki.core.nestedset.NestedSetPostDeleteEventListener"/>
</properties>
1.8 +6 -0 jboss-seam/examples/wiki/src/etc/META-INF/persistence-prod-war.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: persistence-prod-war.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/persistence-prod-war.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- persistence-prod-war.xml 12 Jun 2007 12:29:59 -0000 1.7
+++ persistence-prod-war.xml 17 Aug 2007 13:00:26 -0000 1.8
@@ -63,6 +63,12 @@
<property name="hibernate.ejb.classcache.org.jboss.seam.wiki.core.model.Comment"
value="nonstrict-read-write, WikiComment"/>
+ <!-- Nested Set handling through special Hibernate event listeners -->
+ <property name="hibernate.ejb.event.post-insert"
+ value="org.jboss.seam.wiki.core.nestedset.NestedSetPostInsertEventListener"/>
+ <property name="hibernate.ejb.event.post-delete"
+ value="org.jboss.seam.wiki.core.nestedset.NestedSetPostDeleteEventListener"/>
+
</properties>
</persistence-unit>
More information about the jboss-cvs-commits
mailing list