The following issue has been updated: Updater: Andrew Stevens (mailto:[EMAIL PROTECTED]) Date: Mon, 13 Jun 2005 6:50 PM Changes: Version changed to 1.2.2 Component changed to Build Process --------------------------------------------------------------------- For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1193?page=history --------------------------------------------------------------------- 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 Components: Build Process Versions: 1.2.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Joachim Zierhold Created: Mon, 13 Dec 2004 8:25 AM Updated: Mon, 13 Jun 2005 6:50 PM 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel