- java.lang.Object
- 
- org.jooq.impl.AbstractConverter<T,U>
- 
- org.jooq.impl.JPAConverter<T,U>
 
 
- 
- All Implemented Interfaces:
- Serializable,- Converter<T,U>
 
 public final class JPAConverter<T,U> extends AbstractConverter<T,U> A converter that delegates data type conversions to a JPAAttributeConverter.This is particularly useful when generating code from a JPADatabase, which reverse engineers JPA annotated entities, in case of which, by default, theAttributeConverterannotations are discovered automatically and the user-defined type is applied also in the jOOQ meta model.- Author:
- Lukas Eder
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description JPAConverter(Class<? extends javax.persistence.AttributeConverter<U,T>> klass)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Ufrom(T t)Convert a database object to a user objectTto(U u)Convert a user object to a database object- 
Methods inherited from class org.jooq.impl.AbstractConverterfromType, toString, toType
 
- 
 
-