From 4c009d892c32a5527fc6cb5340fd47ef1f7c663a Mon Sep 17 00:00:00 2001 From: Richard Millet Date: Mon, 28 Nov 2011 15:27:38 +0000 Subject: [PATCH] CSPACE-4526: Changing build.properties back to a PostgreSQL default. --- build.properties | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/build.properties b/build.properties index 76ccdae47..683857aa2 100644 --- a/build.properties +++ b/build.properties @@ -86,32 +86,32 @@ db.base.dir=${jee.server.cspace}/cspace/services/db #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 +# db=mysql +db=postgresql #For mysql, uncomment this, and comment out postgres section -db.port=3306 -db.driver.jar=${db.base.dir}/jdbc_drivers/mysql-connector-java-5.1.7.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.xaDataSource=com.mysql.jdbc.jdbc2.optional.MysqlXADataSource +# db.port=3306 +# db.driver.jar=${db.base.dir}/jdbc_drivers/mysql-connector-java-5.1.7.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.xaDataSource=com.mysql.jdbc.jdbc2.optional.MysqlXADataSource #For postgresql, uncomment this, and comment out mysql section -# db.port=5432 -# db.driver.jar=${db.base.dir}/jdbc_drivers/postgresql-8.4-702.jdbc4.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=${db.base.dir}/jdbc_drivers/postgresql-8.4-702.jdbc4.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.xaDataSource=org.postgresql.xa.PGXADataSource +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.xaDataSource=org.postgresql.xa.PGXADataSource #Hibernate properties for Ant and Maven plugins hibernate.dialect=${db.dialect} -- 2.47.3