Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1193 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1193 Summary: BES-Task: define bean-[local-]home-name, set "bes.table-property" Type: Improvement Status: Open Priority: Major Original Estimate: 1 hour Time Spent: Unknown Remaining: 1 hour Project: XDoclet Assignee: xdoclet-devel (Use for new issues) Reporter: Joachim Zierhold Created: Mon, 13 Dec 2004 8:25 AM Updated: Mon, 13 Dec 2004 8:25 AM Environment: xdoclet 1.2.2 on Linux Description: 1) In the bes-task of xdoclet-1.2.2 the tags bean-home-name and bean-local-home-name only are inserted into ejb-borland.xml for BMP-Beans, but not for CMP-Beans. This patch inserts these tags into ejb-borland.xml for CMP-Beans. 2)In the bes-task of xdoclet-1.2.2 the property-tag in table-properties is not inserted. We needed this in order to be able to set the property "getPrimaryKeyBeforeInsertSql". So we could define the SQL-Statement that gets executed before the insertion of an CMP-Bean-Entity in order to retrieve its primary key. This patch takes the values of the property-tag from the (not yes defined) class-tag "bes.table-property". Its format is Borland`s standard format for properties <property property-name="..." property-type="..." property-value="...". diff -rb ../xdoclet-1.2.2/modules/borland/src/xdoclet/modules/borland/bes/ejb/resources/ejb-borland_2_0.xdt ./modules/borland/src/xdoclet/modules/borland/bes/ejb/resources/ejb-borland_2_0.xdt 61,76d60 < <XDtEjbBmp:ifEntityIsBmp> < <entity> < <ejb-name><XDtEjb:ejbName/></ejb-name> < <XDtEjb:ifRemoteEjb> < <bean-home-name><XDtEjbHome:jndiName type="remote"/></bean-home-name> < </XDtEjb:ifRemoteEjb> < <XDtEjb:ifLocalEjb> < <bean-local-home-name><XDtEjbHome:jndiName type="local"/></bean-local-home-name> < </XDtEjb:ifLocalEjb> < < <XDtMerge:merge file="xdoclet/modules/borland/bes/ejb/resources/ejb-bean-settings_2_0.xdt"> < </XDtMerge:merge> < < </entity> < </XDtEjbBmp:ifEntityIsBmp> < 133,147d116 < <XDtClass:ifHasClassTag tagName="bes.table-property"> < <XDtClass:forAllClassTags tagName="bes.table-property"> < <property> < <XDtClass:ifHasClassTag tagName="bes.table-property" paramName="prop-name"> < <prop-name><XDtClass:classTagValue tagName="bes.table-property" paramName="prop-name" /></prop-name> < </XDtClass:ifHasClassTag> < <XDtClass:ifHasClassTag tagName="bes.table-property" paramName="prop-type"> < <prop-type><XDtClass:classTagValue tagName="bes.table-property" paramName="prop-type" /></prop-type> < </XDtClass:ifHasClassTag> < <XDtClass:ifHasClassTag tagName="bes.table-property" paramName="prop-value"> < <prop-value><XDtClass:classTagValue tagName="bes.table-property"paramName="prop-value" /></prop-value> < </XDtClass:ifHasClassTag> < </property> < </XDtClass:forAllClassTags> < </XDtClass:ifHasClassTag> --------------------------------------------------------------------- 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 ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel