[jboss-cvs] JBossAS SVN: r63174 - branches/Branch_4_2/server/src/etc/conf/default.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon May 21 11:22:30 EDT 2007


Author: rrajesh
Date: 2007-05-21 11:22:30 -0400 (Mon, 21 May 2007)
New Revision: 63174

Modified:
   branches/Branch_4_2/server/src/etc/conf/default/standardjbosscmp-jdbc.xml
Log:
JBPAPP-178 Added comments to the type-mappings for all db's certified.

Modified: branches/Branch_4_2/server/src/etc/conf/default/standardjbosscmp-jdbc.xml
===================================================================
--- branches/Branch_4_2/server/src/etc/conf/default/standardjbosscmp-jdbc.xml	2007-05-21 15:12:46 UTC (rev 63173)
+++ branches/Branch_4_2/server/src/etc/conf/default/standardjbosscmp-jdbc.xml	2007-05-21 15:22:30 UTC (rev 63174)
@@ -564,6 +564,9 @@
 
       <type-mapping>
          <name>DB2</name>
+         <!--
+         | This type-mapping applies to DB2 V7.2 and V8.0
+         -->         
          <row-locking-template/>
          <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
          <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
@@ -788,8 +791,8 @@
       <type-mapping>
          <name>Oracle9i</name>
          <!--
-         | Make sure that you have the Oracle 9i version of classes12.jar
-         | or you will suffer
+         | This type-mapping applies both to Oracle 9i and Oracle 10g
+         | Make sure that you have the latest Oracle 10g version of ojdbc14.jar
          -->
          <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
          <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
@@ -1417,6 +1420,9 @@
 
       <type-mapping>
          <name>PostgreSQL 8.0</name>
+         <!--
+         | This type-mapping applies to PostgreSQL V8.0 and V8.1
+         -->           
          <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
          <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
          <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
@@ -2246,6 +2252,9 @@
 
       <type-mapping>
          <name>MS SQLSERVER2000</name>
+         <!--
+         | This type-mapping applies both to MS SQLSERVER 2000 and MS SQLSERVER 2005
+         -->         
          <row-locking-template>SELECT ?1 FROM ?2 with (xlock) WHERE ?3 ORDER BY ?4</row-locking-template>
          <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
          <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>




More information about the jboss-cvs-commits mailing list