Index: adminguide/docbook/en/modules/chap11.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-docs/adminguide/docbook/en/modules/chap11.xml,v
retrieving revision 1.4
diff -u -3 -p -r1.4 chap11.xml
--- adminguide/docbook/en/modules/chap11.xml	31 Dec 2004 23:43:34 -0000	1.4
+++ adminguide/docbook/en/modules/chap11.xml	17 Mar 2005 15:23:41 -0000
@@ -790,6 +790,16 @@ public abstract class GangsterBean 
                 </listitem>
                 <listitem>
                     <para>
+                        <emphasis role="bold">default-value</emphasis>: The
+                        presence of this optional field indicates that a default
+                        value should be applied to existing rows when the column
+                        is added. Both <literal>alter-table</literal> and
+                        <literal>add-column-default-supported</literal> needs
+                        to be set to true. If the field is character based the value
+                        is automatically escaped.</para>
+                </listitem>
+                <listitem>
+                    <para>
                         <emphasis role="bold">auto-increment</emphasis>: The
                         presence of this optional field indicates that it is
                         automatically incremented by the database layer. This is
@@ -4565,6 +4575,39 @@ SELECT name, nick_name, badness
                 </listitem>
                 <listitem>
                     <para>
+                        <emphasis role="bold">add-column-default-template</emphasis>:
+                        When <literal>alter-table</literal> is true and
+                        <literal>add-column-default-supported</literal> is true, this SQL
+                        template specifies the syntax for adding a column to an
+                        existing table with a default value. The default value is
+                        <literal>ALTER TABLE ?1 ADD ?2 ?3 DEFAULT ?4</literal>.
+                        The parameters are: </para>
+                    <orderedlist spacing="compact">
+                        <listitem>
+                            <para>the table name</para>
+                        </listitem>
+                        <listitem>
+                            <para>the column name</para>
+                        </listitem>
+                        <listitem>
+                            <para>the column type</para>
+                        </listitem>
+                        <listitem>
+                            <para>the default value</para>
+                        </listitem>
+                    </orderedlist>
+                </listitem>
+                <listitem>
+                    <para>
+                        <emphasis role="bold">add-column-default-supported</emphasis>:
+                        This optional element specifies if this
+                        <literal>type-mapping</literal> support default values
+                        for <literal>ALTER TABLE ADD</literal> statements. The value is either
+                        true or false. The default value of this element is false.
+                    </para>
+                </listitem>
+                <listitem>
+                    <para>
                         <emphasis role="bold">alter-column-template</emphasis>:
                         When <literal>alter-table</literal> is true, this SQL
                         template specifies the syntax for dropping a column to
