JPA Attribute Converter

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

An attribute converter allows the developer to specify methods to convert between the database and the Java representation of an attribute.

Playground Example

Programming Model

@Convert(converter = ColorConverter.class)