|
From: Sacha L. <sla...@us...> - 2002-10-01 21:42:13
|
User: slaboure
Date: 02/10/01 14:42:12
Modified: src/etc/conf/default Tag: Branch_3_2
standardjbosscmp-jdbc.xml
Log:
McKoi: type-mappingS tag badly placed + added true/false mapping
Revision Changes Path
No revision
No revision
1.39.2.6 +7 -5 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml
Index: standardjbosscmp-jdbc.xml
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml,v
retrieving revision 1.39.2.5
retrieving revision 1.39.2.6
diff -u -r1.39.2.5 -r1.39.2.6
--- standardjbosscmp-jdbc.xml 24 Sep 2002 16:07:35 -0000 1.39.2.5
+++ standardjbosscmp-jdbc.xml 1 Oct 2002 21:42:12 -0000 1.39.2.6
@@ -7,7 +7,7 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.5 2002/09/24 16:07:35 loubyansky Exp $ -->
+<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.6 2002/10/01 21:42:12 slaboure Exp $ -->
<jbosscmp-jdbc>
@@ -41,8 +41,9 @@
</defaults>
- <type-mapping>
- <name>mckoi</name>
+ <type-mappings>
+ <type-mapping>
+ <name>McKoi</name>
<row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 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>
@@ -50,6 +51,8 @@
<alias-header-suffix>_</alias-header-suffix>
<alias-max-length>32</alias-max-length>
<subquery-supported>true</subquery-supported>
+ <true-mapping>TRUE</true-mapping>
+ <false-mapping>FALSE</false-mapping>
<mapping>
<java-type>java.lang.Boolean</java-type>
@@ -116,9 +119,8 @@
<jdbc-type>JAVA_OBJECT</jdbc-type>
<sql-type>JAVA_OBJECT</sql-type>
</mapping>
- </type-mapping>
+ </type-mapping>
- <type-mappings>
<type-mapping>
<name>Firebird</name>
<!-- For use with the Firebirdsql jca-jdbc driver.
|