if (jpaColumn.getPrecision() > 0) {
dbAttribute.setAttributePrecision(jpaColumn.getPrecision());
}
if (jpaColumn.getTable() == null) {
throw new JpaProviderException("No default table defined for JpaColumn "
+ jpaColumn.getName());
}
DbEntity entity = ((DataMap) targetPath.firstInstanceOf(DataMap.class))
.getDbEntity(jpaColumn.getTable());
if (entity == null) {
throw new JpaProviderException("No DbEntity defined for table "
+ jpaColumn.getTable());
}
entity.addAttribute(dbAttribute);