[
https://issues.apache.org/jira/browse/JDO-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bouschen updated JDO-658:
---------------------------------
Comment: was deleted
(was: The attached patch JDO-658-mbo.patch for review adds query test cases for
methods:
- Enum.ordinal
- Enum.toString
- String.trim
It also change the DN dependencies to 3.0.1.)
> JDOQL : Support for further methods (String, Enum, Date, JDOHelper)
> -------------------------------------------------------------------
>
> Key: JDO-658
> URL: https://issues.apache.org/jira/browse/JDO-658
> Project: JDO
> Issue Type: New Feature
> Components: specification, tck
> Affects Versions: JDO 3
> Reporter: Andy Jefferson
> Fix For: JDO 3 maintenance release 1
>
> Attachments: JDO-658-mbo.patch, JDO-658.patch,
> jdohelper_getversion.patch
>
>
> Consider extending JDOQL in JDO3.1 to include a series of new methods,
> following the contracts of existing Java classes
> String.charAt(int)
> String.startsWith(String, int)
> String.length()
> String.trim()
> Enum.ordinal()
> Enum.toString()
> The following are obviously deprecated in the JDK, but worth consideration
> Date.getHour()
> Date.getMinutes()
> Date.getSeconds()
> Date.getDay()
> Date.getMonth()
> Date.getYear()
> We already have JDOHelper.getObjectId(Object), so why not add
> JDOHelper.getVersion(Object)
> On a related topic JDO-633 has "List.get(int)".
> Note that all of these are already implemented in the RI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira