bpapez 2005/12/06 13:13:43 CET
Modified files:
core/src/webapp/WEB-INF/etc/jetspeed/conf/ojb
repository_database.xml
Log:
* change jndi-datasource-name
* add useAutoCommit="0"
* change sequence manager to SequenceManagerInMemoryImpl, but this does not
work for clusters, so we have to make our own implementation based on Serges
ID-creator
Revision Changes Path
1.5 +4 -3
jahia/core/src/webapp/WEB-INF/etc/jetspeed/conf/ojb/repository_database.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/WEB-INF/etc/jetspeed/conf/ojb/repository_database.xml.diff?r1=1.4&r2=1.5&f=h
Index: repository_database.xml
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/webapp/WEB-INF/etc/jetspeed/conf/ojb/repository_database.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- repository_database.xml 22 Jun 2005 12:43:19 -0000 1.4
+++ repository_database.xml 6 Dec 2005 12:13:43 -0000 1.5
@@ -1,4 +1,4 @@
-<!-- @version $Id: repository_database.xml,v 1.4 2005/06/22 12:43:19
cmailleux Exp $ -->
+<!-- @version $Id: repository_database.xml,v 1.5 2005/12/06 12:13:43 bpapez
Exp $ -->
<!--
#/* Copyright 2002-2004 The Apache Software Foundation
@@ -37,15 +37,16 @@
platform="Hsqldb"
default-connection="true"
jdbc-level="2.0"
- jndi-datasource-name="java:comp/env/jdbc/jahia"
+ jndi-datasource-name="java:comp/env/jdbc/jetspeed"
batch-mode="false"
+ useAutoCommit="0"
>
<connection-pool
maxActive="21"
validationQuery="" />
- <sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
+ <sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerInMemoryImpl">
<attribute attribute-name="grabSize" attribute-value="20"/>
<attribute attribute-name="autoNaming" attribute-value="true"/>
<attribute attribute-name="globalSequenceId"
attribute-value="false"/>