|
From: Heiko W.R. <pi...@us...> - 2003-05-23 15:32:27
|
User: pilhuhn
Date: 03/05/23 08:32:24
Modified: src/etc/conf/default Tag: Branch_3_2
standardjbosscmp-jdbc.xml
Log:
Add fk-constraint-template for hsqldb, as this db supports it.
Still the user needs to enable it in his entity settings.
Revision Changes Path
No revision
No revision
1.39.2.19 +2 -2 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.18
retrieving revision 1.39.2.19
diff -u -r1.39.2.18 -r1.39.2.19
--- standardjbosscmp-jdbc.xml 22 May 2003 21:22:21 -0000 1.39.2.18
+++ standardjbosscmp-jdbc.xml 23 May 2003 15:32:23 -0000 1.39.2.19
@@ -7,7 +7,7 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.18 2003/05/22 21:22:21 jboynes Exp $ -->
+<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.19 2003/05/23 15:32:23 pilhuhn Exp $ -->
<jbosscmp-jdbc>
@@ -1091,7 +1091,7 @@
<name>Hypersonic SQL</name>
<row-locking-template/>
<pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
- <fk-constraint-template/>
+ <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
<auto-increment-template>?1 IDENTITY</auto-increment-template>
<alias-header-prefix>t</alias-header-prefix>
<alias-header-suffix>_</alias-header-suffix>
|