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 "Tilmann Zäschke (Jira)" <ji...@apache.org> on 2023/04/26 19:26:00 UTC

[jira] [Closed] (JDO-826) @Convert Javadoc indicates support for @Target(ElementType.TYPE,...)

     [ https://issues.apache.org/jira/browse/JDO-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilmann Zäschke closed JDO-826.
-------------------------------
      Assignee: Tilmann Zäschke
    Resolution: Fixed

> @Convert Javadoc indicates support for @Target(ElementType.TYPE,...)
> --------------------------------------------------------------------
>
>                 Key: JDO-826
>                 URL: https://issues.apache.org/jira/browse/JDO-826
>             Project: JDO
>          Issue Type: Bug
>          Components: api
>    Affects Versions: JDO 3.2
>            Reporter: Tilmann Zäschke
>            Assignee: Tilmann Zäschke
>            Priority: Major
>             Fix For: JDO 3.2.2
>
>
> The javadoc of the @Convert annotation claims that it can be placed on types, e.g.
> {code:java}
> @Convert(value = ConvertiblePointToStringConverter.class)
> public class ConvertiblePoint {
>   ...
> }
> {code}
> While this feature is desirable, there is currently no implementation of it in the reference implementation.
> For now, the javadoc should be fixed by removing the section about @Target(ElementType.TYPE,...).
> Once the implementation is resourced (volunteers welcome!) the section can be put back in place.
>  
> Context:
>  * Original discussion: [JDO-709|https://issues.apache.org/jira/browse/JDO-709], starting 2022-10-17
>  * PR by original problem reporter: [https://github.com/apache/db-jdo/pull/60]
>  * Copy of original PR with additional TCK test: [https://github.com/apache/db-jdo/pull/61]
>  * Tickets with problem description on reference implementation: [https://github.com/datanucleus/datanucleus-api-jdo/issues/127]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)