use of org.dbflute.helper.beans.DfPropertyDesc in project dbflute-core by dbflute.
the class TnDBMetaPropertyTypeFactory method isPersistent.
protected boolean isPersistent(TnPropertyType propertyType) {
final String propertyName = propertyType.getPropertyName();
final DfPropertyDesc propertyDesc = propertyType.getPropertyDesc();
return (hasDBMeta() && _dbmeta.hasColumn(propertyName)) || hasColumnAnnotation(propertyDesc);
}
use of org.dbflute.helper.beans.DfPropertyDesc in project dbflute-core by dbflute.
the class TnBeanMetaDataImpl method setupIdentifierGenerator.
protected void setupIdentifierGenerator(TnPropertyType pt) {
// only called in the initialize() process
final DfPropertyDesc pd = pt.getPropertyDesc();
final String propertyName = pt.getPropertyName();
final String idType = _beanAnnotationReader.getId(pd);
final TnIdentifierGenerator generator = TnIdentifierGeneratorFactory.createIdentifierGenerator(pt, idType);
_identifierGeneratorList.add(generator);
_identifierGeneratorsByPropertyName.put(propertyName, generator);
}
Aggregations