Message:

   The following issue has been re-assigned.

   Assignee: xdoclet-devel (Use for new issues) 
(mailto:xdoclet-devel@lists.sourceforge.net)
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-172

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-172
    Summary: Entity bean setData(... dataHolder) should not update  foreign key 
columns
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: 0 minutes
 Time Spent: Unknown
  Remaining: 0 minutes

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2 Beta 1

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Dmitry Olyenyov

    Created: Sun, 24 Nov 2002 11:55 PM
    Updated: Sat, 29 Jan 2005 10:18 AM

Description:
I use middlegen together with xdoclet. It generates setters and getters for 
entity bean's CMR columns (foreign keys) together with regular relationship's 
methods. So when I use setData() method after changing some of bean's fields I 
get the exception telling me that foreign key column are read only. 

I tried to dig into entity-body.xdt but didn't find any way to find out if the 
field is a foreign key in relation. The only way I see is to use 
@ejb.persistence column-name... 


---------------------------------------------------------------------
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: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to