[jira] Commented: (XDP-232) @hibernate.many-to-many tag is not accepting order-by param
"Konstantin Pribluda (JIRA)" <jira-yCVjj/[email protected]> Thu, 24 Jul 2008 02:16:27 -0500 (CDT)
| Newsgroups | gmane.comp.java.xdoclet-plugins |
|---|---|
| Message-ID | <16019223.1216883787459.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
[ http://jira.codehaus.org/browse/XDP-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142978#action_142978 ]
Konstantin Pribluda commented on XDP-232:
-----------------------------------------
Dare toprovide a patch to current codebase ( also with unit tests ) ?
This will speed up producing new 1.0.5-SNAPSHOT .
To 2 & 3: This wouldnot work, as those classes come from automatically generated sources
and patching has to bedone in org.xdoclet.plugin.hibernate.qtags.HibernateKeyManyToOneTag
interface ( pretty trivial, eithe method or implementing other intrerface )
> @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=/