[jira] Created: (XDP-232) @hibernate.many-to-many tag is not accepting order-by param

"Shyamsunder Mutcha (JIRA)" <jira-yCVjj/[email protected]> Wed, 23 Jul 2008 15:50:26 -0500 (CDT)
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <24371346.1216846226939.JavaMail.haus-jira@codehaus01.managed.contegix.com>
@hibernate.many-to-many tag is not accepting order-by param
-----------------------------------------------------------

                 Key: XDP-232
                 URL: http://jira.codehaus.org/browse/XDP-232
             Project: XDoclet 2 Plugins
          Issue Type: Improvement
         Environment: xdoclet-plugin-hibernate-1.0.4
            Reporter: Shyamsunder Mutcha


ELEMENT many-to-many accepts the order-by param. Refer to http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd
<!ELEMENT many-to-many (meta*,(column|formula)*,filter*)>
	<!ATTLIST many-to-many order-by CDATA #IMPLIED>

To fix this problem:

1. Add the param 'order-by' to ManyToMany.jelly at line#16 order-by="${manyToManyTag.orderBy}"

2. Add the "order-by" to ALLOWED_PARAMETERS string array in java class org.xdoclet.plugin.hibernate.qtags.HibernateKeyManyToOneTagImpl .
3. And also implement the method public java.lang.String getOrderBy() in the above class.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/