public final class JPAConverter<T,U> extends AbstractConverter<T,U>
AttributeConverter.
This is particularly useful when generating code from a
JPADatabase, which reverse engineers JPA annotated entities, in
case of which, by default, the AttributeConverter annotations are
discovered automatically and the user-defined type is applied also in the
jOOQ meta model.
| Constructor and Description |
|---|
JPAConverter(Class<? extends javax.persistence.AttributeConverter<U,T>> klass) |
| Modifier and Type | Method and Description |
|---|---|
U |
from(T t)
Convert a database object to a user object
|
T |
to(U u)
Convert a user object to a database object
|
fromType, toString, toTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitandThen, inverse, of, ofNullableCopyright © 2019. All rights reserved.