[ https://issues.apache.org/jira/browse/JDO-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565104#comment-14565104 ]
Andy Jefferson edited comment on JDO-709 at 5/29/15 5:48 PM: ------------------------------------------------------------- +1 on the rename of the default annotation "converter". Yes the boolean means what you say (and no problem with the name you proposed), the only thing is that in an annotation it needs a default value. If we put "false" then that implies it will need a provided converter. If we put "true" then that implies it will have to be set to "false" if the user wants to specify a converter of their own (as well as specifying the converter attribute). An alternate would be to NOT have as a boolean (like we did for all other annotations), and instead have as String ... then the default would be "", and your rules would work. was (Author: andy): +1 on the rename of the default annotation "converter". Yes the boolean means what you say (and no problem with the name you proposed), the only thing is that in an annotation it needs a default value. If we put "false" then that implies it will need a provided converter. If we put "true" then that implies it will have to be set to "false". An alternate would be to NOT have as a boolean (like we did for all other annotations), and instead have as String ... then the default would be "", and your rules would work. > Standardize field/property converters > ------------------------------------- > > Key: JDO-709 > URL: https://issues.apache.org/jira/browse/JDO-709 > Project: JDO > Issue Type: New Feature > Components: api > Reporter: Matthew T. Adams > Assignee: Matthew T. Adams > Priority: Minor > Labels: converstion, converter, jdo, type, type-converter > Fix For: JDO 3.2 > > Attachments: JDO-709-01.patch, JDO-709-3.patch, JDO-709-4.patch > > > This request is to standardize a user's ability to specify conversions of > fields or properties of persistence-capable classes. Currently, this is left > to vendor extensions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)