result = JdbcTypesHelper.getJdbcTypeByReflection(m_PersistentField.getType().getName());
}
catch(Exception e)
{
String eol = SystemUtils.LINE_SEPARATOR;
throw new OJBRuntimeException("Can't automatically assign a jdbc field-type for field: "
+ eol + this.toXML() + eol + "in class: " + eol + getClassDescriptor(), e);
}
}
else
{
try
{
result = JdbcTypesHelper.getJdbcTypeByName(columnType);
}
catch(Exception e)
{
String eol = SystemUtils.LINE_SEPARATOR;
throw new OJBRuntimeException("Can't assign the specified jdbc field-type '"+columnType+"' for field: "
+ eol + this.toXML() + eol + "in class: " + eol + getClassDescriptor(), e);
}
}
return result;
}