|
From: Heiko W.R. <pi...@us...> - 2003-09-11 13:54:41
|
User: pilhuhn
Date: 03/09/11 06:54:38
Modified: src/etc/conf/default standardjbosscmp-jdbc.xml
Log:
Pullup list of reserved words in DTD and standardjboss-jdbc.xml from
Branch_3_2. Changes in Java classes were already pulled up by Bill Burke.
See ChangeNotes-802557
Revision Changes Path
1.61 +31 -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.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- standardjbosscmp-jdbc.xml 27 Aug 2003 04:31:54 -0000 1.60
+++ standardjbosscmp-jdbc.xml 11 Sep 2003 13:54:38 -0000 1.61
@@ -9,7 +9,7 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: standardjbosscmp-jdbc.xml,v 1.60 2003/08/27 04:31:54 patriot1burke Exp $ -->
+<!-- $Id: standardjbosscmp-jdbc.xml,v 1.61 2003/09/11 13:54:38 pilhuhn Exp $ -->
<jbosscmp-jdbc>
@@ -40,7 +40,9 @@
</unknown-pk>
<entity-command name="default"/>
-
+
+
+
</defaults>
<type-mappings>
@@ -2413,4 +2415,31 @@
class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBC30GeneratedKeysCreateCommand"/>
</entity-commands>
+ <!-- reserved words that should not be used as table names -->
+ <!-- JBoss will escape them by prepending a 'X' -->
+ <reserved-words>
+ <word>create</word>
+ <word>table</word>
+ <word>alter</word>
+ <word>on</word>
+ <word>column</word>
+ <word>index</word>
+ <word>set</word>
+ <word>select</word>
+ <word>update</word>
+ <word>delete</word>
+ <word>from</word>
+ <word>view</word>
+ <word>trigger</word>
+ <word>commit></word>
+ <word>rollback</word>
+ <word>drop</word>
+ <word>grant</word>
+ <word>revoke</word>
+ <word>group</word>
+ <word>between</word>
+ <word>join</word>
+ <word>unique</word>
+ <word>primary</word>
+ </reserved-words>
</jbosscmp-jdbc>
|