You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Andy Jefferson (JIRA)" <ji...@apache.org> on 2009/01/22 20:15:59 UTC
[jira] Created: (JDO-622) @Order is missing an "extensions"
property so that it mirrors what is specifiable in XML
@Order is missing an "extensions" property so that it mirrors what is specifiable in XML
----------------------------------------------------------------------------------------
Key: JDO-622
URL: https://issues.apache.org/jira/browse/JDO-622
Project: JDO
Issue Type: Bug
Components: api2
Affects Versions: JDO 2 maintenance release 2
Reporter: Andy Jefferson
Assignee: Andy Jefferson
Fix For: JDO 2 maintenance release 3
The DTD specifies
<!ELEMENT order (extension*, column*, index?, extension*)>
<!ATTLIST order column CDATA #IMPLIED>
<!ATTLIST order mapped-by CDATA #IMPLIED>
yet the annotation is
public @interface Order
{
/** The name of the column to use for ordering the elements of the member.
* @return the name of the ordering column
*/
String column() default "";
/** Name of a field or property in the target class that acts as the
* ordering field or property for this member.
* Return the name of the field or property in the target class
*/
String mappedBy() default "";
/** The definition of the column(s) to use for ordering.
* @return the columns to use for ordering
*/
Column[] columns() default {};
}
so for correctness we should have "extensions" as a property
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JDO-622) @Order is missing an "extensions"
property so that it mirrors what is specifiable in XML
Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Jefferson resolved JDO-622.
--------------------------------
Resolution: Fixed
SVN trunk now has this added.
> @Order is missing an "extensions" property so that it mirrors what is specifiable in XML
> ----------------------------------------------------------------------------------------
>
> Key: JDO-622
> URL: https://issues.apache.org/jira/browse/JDO-622
> Project: JDO
> Issue Type: Bug
> Components: api2
> Affects Versions: JDO 2 maintenance release 2
> Reporter: Andy Jefferson
> Assignee: Andy Jefferson
> Fix For: JDO 2 maintenance release 3
>
>
> The DTD specifies
> <!ELEMENT order (extension*, column*, index?, extension*)>
> <!ATTLIST order column CDATA #IMPLIED>
> <!ATTLIST order mapped-by CDATA #IMPLIED>
> yet the annotation is
> public @interface Order
> {
> /** The name of the column to use for ordering the elements of the member.
> * @return the name of the ordering column
> */
> String column() default "";
> /** Name of a field or property in the target class that acts as the
> * ordering field or property for this member.
> * Return the name of the field or property in the target class
> */
> String mappedBy() default "";
> /** The definition of the column(s) to use for ordering.
> * @return the columns to use for ordering
> */
> Column[] columns() default {};
> }
> so for correctness we should have "extensions" as a property
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.