Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1389

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1389
    Summary: No way to omit "column" attribute of "property" tag
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Steven Grimm

    Created: Sat, 7 May 2005 2:06 PM
    Updated: Sat, 7 May 2005 2:06 PM
Environment: Debian Linux (sarge), J2SDK 1.4.2_05

Description:
If I want to use Hibernate's NamingStrategy facility to automatically generate 
some of my column names, there appears to be no way to do it with XDoclet. It 
always includes a "column" attribute on all the properties, filling in the 
field name if no column name was specified. Since the "column" attribute is 
optional, XDoclet should leave it out of the mapping file if the programmer 
doesn't specify it.

Removing the first "column=" line from hibernate-column.xdt does the trick, and 
that's what I've done locally, but if the existing behavior is useful to some 
users (unlikely, since Hibernate's default naming strategy will produce exactly 
the same results, but maybe someone out there wants it) then it should probably 
be controlled by a setting on the <hibernate> Ant tag.


---------------------------------------------------------------------
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.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to