The following issue has been updated: Updater: tom janofsky (mailto:[EMAIL PROTECTED]) Date: Mon, 20 Jun 2005 10:16 AM Comment: Patch is attached. Changes: Attachment changed to patch.diff --------------------------------------------------------------------- For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1439?page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1439 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1439 Summary: XDtEjbPk:ifIsPrimkeyField fails for mixed case field mapping (fix included) Type: Bug Status: Open Priority: Minor Original Estimate: 30 minutes Time Spent: Unknown Remaining: 30 minutes Project: XDoclet Components: EJB Module Versions: 1.3 Assignee: xdoclet-devel (Use for new issues) Reporter: tom janofsky Created: Mon, 20 Jun 2005 10:14 AM Updated: Mon, 20 Jun 2005 10:16 AM Environment: n/a Description: When using a 'fudged' case field name for a CMP field (see issues 528, 600, 687 - ejb field names don't map perfectly to bean attributes), the deployment descriptors are correct, but calls to <XDtEjbPk:ifIsPrimkeyField> fail to return the correct value if the fudged field is a primary key. This appears to be because the call to xdoclet.modules.ejb.entity.PkTagsHandler.isMethodPrimkeyField calls MethodTagsHandler.getFieldNameFor(Method). Based on the fix for #1266, I made the same change to PkTagsHandler (call CmpTagsHandler.getFieldNameFor(method) as opposed to MethodTagsHandler.) This appears to fix the problem for me with no ill effects. I will try to attach a patch for this. --------------------------------------------------------------------- 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.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel