Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-635


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-635
    Summary: fix for post-table-create tag defect
       Type: Improvement

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             JBoss Module
   Versions:
             1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Adrian Sutherland

    Created: Mon, 15 Sep 2003 3:56 AM
    Updated: Mon, 15 Sep 2003 3:56 AM
Environment: All

Description:
The post-table-create tag does not work as described in the docs. (or at all) 

For information: this tag is probably hardly ever used, but is useful if you are using 
mysql and want to issue "alter table xyz type=innodb" automatically.

I have altered the modules/jboss/ejb/resources/jboss-jdbc_xml.xdt file.

I attached some snipets (sorry I don't have diff on this work windows PC ....).

Basically the original code seems to only try to detect post-table-create as a default 
option not a tag (And I don't think post-table-create is an option?)

Notes:

- I have not removed the original post-table-create stuff as I am not sure if that 
would be right.

- I have not detected [jboss] Version 3.2 because I don't know how to (sorry, I am 
only a third class hacker)


The new code is:

...
{snip} 
...

<XDtEjbCmp:forAllCmpEntityBeans>

...
{snip} 
...

      <XDtClass:ifHasClassTag 
tagName="jboss:persistence,jboss:remove-table,jboss:remove-table" 
paramName="remove-table,remove">
         <remove-table><XDtClass:classTagValue 
tagName="jboss:persistence,jboss:remove-table,jboss:remove-table" 
paramName="remove-table,remove" paramNum="0"/></remove-table>
      </XDtClass:ifHasClassTag>     

{new code starts here - i.e. after the remove-table stuff} 

      <XDtClass:ifHasClassTag 
tagName="jboss:persistence,jboss:post-table-create,jboss:post-table-create" 
paramName="post-table-create">
        <post-table-create>
          <sql-statement>
            <XDtClass:classTagValue 
tagName="jboss:persistence,jboss:post-table-create,jboss:post-table-create" 
paramName="post-table-create" paramNum="0"/>
          </sql-statement>
        </post-table-create>
      </XDtClass:ifHasClassTag>
....



Kind regards

Adrian



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to