@Converter: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
Line 1: Line 1:
=Overview=


=Configuration=
<syntaxhighlight lang='java'>
@Convert(autoapply=true)
</syntaxhighlight>
If autoapply=true is set, the JPA provider will use this Converter to covert all entity attributes of the given type. If autoapply=false, then each field to be converted must be specifically annotated.

Latest revision as of 20:35, 31 October 2018

Overview

Configuration

@Convert(autoapply=true)

If autoapply=true is set, the JPA provider will use this Converter to covert all entity attributes of the given type. If autoapply=false, then each field to be converted must be specifically annotated.