Message:

   The following issue has been closed.

   Resolver: Gavin King
       Date: Wed, 12 Mar 2003 9:57 PM

Upon consideration, I have decided to close this issue. The reporting user's 
requirement for index attributes, etc is now satisfied, along with a further request 
made in the Hibernate list for custom type support.

Hibernate also uses the <column> element in collection mappings. I don't see how this 
can work with XDoclet.

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-279


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-279
    Summary: @hibernate.column Method Tag
       Type: New Feature

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: XDoclet
  Component: Hibernate Module
    Fix For: 1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: David L Kinney

    Created: Thu, 30 Jan 2003 4:13 PM
    Updated: Wed, 12 Mar 2003 9:57 PM
Environment: 1.2Beta2

Description:
OVERVIEW

It is currently not possible to specify index names or SQL-types for bean properties.  

DETAILS

Many elements of the Hibernate mapping document support a nested <column> element.  
The <column> element is used to specify database information, such as column names, 
null-ability, and indexes.  There appears to be no way to specify the inclusion of 
this information when generating a mapping document using the Hibernate doclet task.   

In my humble opinion, a @hibernate.column tag should be added.  It would have the 
attributes name, length, not-null, unique, sql-type, and index.

With this addition, it would be possible to doclet a method in this manner:
/**
 * @hibernate.property
 * @hibernate.column    name="NAME"
 *                      length="1000"
 *                      not-null="true"
 *                      index="X_USER_NAME"
 */
public String getName() {
    return this.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/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:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to