ALTER TABLE ADD DEFAULT
-----------------------
Key: JBAS-1594
URL: http://jira.jboss.com/jira/browse/JBAS-1594
Project: JBoss Application Server
Type: Patch
Components: CMP service
Versions: JBossAS-4.0.2RC1
Environment: SuSE with Sun JDK-1.4+
Reporter: Jesper Pedersen
Priority: Minor
Attachments: altertable.patch
This patch adds support for having a default value assigned to existing rows
when adding a column to a table - just like the SQL statement.
The patch adds an optional "default-value" element to "cmp-field" and
"property". Also two new elements "add-column-default-template" and
"add-column-default-supported" are added to "type-mapping".
The documentation patch describes the changes -- only figure 11.4 and figure
11.7 needs to be updated to include the new elements.
Patch is against Branch_4_0 for code and HEAD for documentation.
Let me know if a port to HEAD is needed for the code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development