From 690f9f91f54f7af5c2a4c712701a680cc9e60650 Mon Sep 17 00:00:00 2001 From: Patrick Schmitz Date: Fri, 17 Jun 2011 17:12:34 +0000 Subject: [PATCH] CSPACE-2903, CSPACE-2421. Committing the postgresql variant as the default. --- build.properties | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/build.properties b/build.properties index dd351fab5..0fde3f62a 100644 --- a/build.properties +++ b/build.properties @@ -68,28 +68,28 @@ nuxeo.main.config.file=${jboss.bin}/nuxeo.conf #database - select one or the other (not both!), and then uncomment the # appropriate section below the common settings #db=mysql|postgresql -db=mysql +db=postgresql #For mysql, uncomment this, and comment out postgres section -db.port=3306 -db.driver.jar=${jboss.lib.cspace}/mysql-connector-java-5.1.7-bin.jar -db.jdbc.driver.class=com.mysql.jdbc.Driver -db.dialect=org.hibernate.dialect.MySQLDialect -db.typemapping=mySQL -db.exceptionsorter=org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter -db.spring.acl.classIdentityQuery=SELECT @@IDENTITY -db.spring.acl.sidIdentityQuery=SELECT @@IDENTITY +#db.port=3306 +#db.driver.jar=${jboss.lib.cspace}/mysql-connector-java-5.1.7-bin.jar +#db.jdbc.driver.class=com.mysql.jdbc.Driver +#db.dialect=org.hibernate.dialect.MySQLDialect +#db.typemapping=mySQL +#db.exceptionsorter=org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter +#db.spring.acl.classIdentityQuery=SELECT @@IDENTITY +#db.spring.acl.sidIdentityQuery=SELECT @@IDENTITY #For postgresql, uncomment this, and comment out mysql section -#db.port=5432 -#db.driver.jar=${jboss.lib.cspace}/postgresql-8.3-604.jdbc3.jar -#db.jdbc.driver.class=org.postgresql.Driver -#db.dialect=org.hibernate.dialect.PostgreSQLDialect -#db.typemapping=PostgreSQL 8.0 +db.port=5432 +db.driver.jar=${jboss.lib.cspace}/postgresql-8.3-604.jdbc3.jar +db.jdbc.driver.class=org.postgresql.Driver +db.dialect=org.hibernate.dialect.PostgreSQLDialect +db.typemapping=PostgreSQL 8.0 # Should be org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter # but current JBoss does not seem to include it... -#db.exceptionsorter= -#db.spring.acl.classIdentityQuery=select currval(pg_get_serial_sequence('acl_class', 'id')) -#db.spring.acl.sidIdentityQuery=select currval(pg_get_serial_sequence('acl_sid', 'id')) +db.exceptionsorter= +db.spring.acl.classIdentityQuery=select currval(pg_get_serial_sequence('acl_class', 'id')) +db.spring.acl.sidIdentityQuery=select currval(pg_get_serial_sequence('acl_sid', 'id')) #database common settings -- 2.47.3