public void inflateNonPkPetData(int _pos, PetData _datax, ResultSet _rs, DatabaseType _dt)
throws SQLException
{
{
PetData _data = _datax;
_data.setPersonId(_rs.getInt(_pos++));
checkNullPrimitive(_rs, _data, "personId");
_data.setPetAge(_rs.getInt(_pos++));
checkNullPrimitive(_rs, _data, "petAge");
_data.setPetTypeId(_rs.getInt(_pos++));
checkNullPrimitive(_rs, _data, "petTypeId");
Timestamp processingDateFromtimestampValue = _dt.getTimestampFromResultSet(_rs, _pos++, MithraTimestamp.DefaultTimeZone);
_data.setProcessingDateFrom(processingDateFromtimestampValue);
Timestamp processingDateTotimestampValue = _dt.getTimestampFromResultSet(_rs, _pos++, MithraTimestamp.DefaultTimeZone);
if (processingDateTotimestampValue == null)
{
throw new MithraBusinessException("attribute ' processingDateTo ' is null in database but is not marked as nullable in mithra xml for primary key / "+_data.zGetPrintablePrimaryKey());
}
processingDateTotimestampValue = MithraTimestamp.zFixInfinity(processingDateTotimestampValue, MithraTimestamp.DefaultTimeZone,
PetFinder.processingDate().getInfinityDate());
_data.setProcessingDateTo(processingDateTotimestampValue);
}
}