use of org.hibernate.annotations.ColumnTransformer in project hibernate-orm by hibernate.
the class Ejb3Column method extractDataFromPropertyData.
//must only be called afterQuery all setters are defined and beforeQuery bind
private void extractDataFromPropertyData(PropertyData inferredData) {
if (inferredData != null) {
XProperty property = inferredData.getProperty();
if (property != null) {
processExpression(property.getAnnotation(ColumnTransformer.class));
ColumnTransformers annotations = property.getAnnotation(ColumnTransformers.class);
if (annotations != null) {
for (ColumnTransformer annotation : annotations.value()) {
processExpression(annotation);
}
}
}
}
}
Aggregations