try {
while (rs.next()) {
NetworkAPIType data = new NetworkAPIType();
- data.setSeq(rs.getInt(DB_SEQ_INDEX + 1));
+ data.setSeq(rs.getLong(DB_SEQ_INDEX + 1));
data.setDestinationAddress(rs.getString(DB_DESTINATION_ADDRESS_INDEX + 1));
data.setFdStr(rs.getString(DB_FD_VALUE_INDEX + 1));
data.setTime(rs.getLong(DB_API_TIME_INDEX + 1));
try {
while (rs.next()) {
NetworkAPIType data = new NetworkAPIType();
- data.setSeq(rs.getInt(DB_SEQ_INDEX + 1));
+ data.setSeq(rs.getLong(DB_SEQ_INDEX + 1));
data.setDestinationAddress(rs.getString(DB_DESTINATION_ADDRESS_INDEX + 1));
data.setFdStr(rs.getString(DB_FD_VALUE_INDEX + 1));
data.setTime(rs.getLong(DB_API_TIME_INDEX + 1));
if (index == GLContextNameEnum.RID.ordinal()
|| index == GLContextNameEnum.BLEND_EQUATION_RGB.ordinal()
|| index == GLContextNameEnum.BLEND_EQUATION_ALPHA.ordinal()
- || index == GLContextNameEnum.BLEND_EQUATION_RGB.ordinal()
|| index == GLContextNameEnum.BLEND_SRC_RGB.ordinal()
|| index == GLContextNameEnum.BLEND_SRC_ALPHA.ordinal()
|| index == GLContextNameEnum.BLEND_DEST_RGB.ordinal()
public ReplayDBManager() {
addColumn(new DBColumn(RID, DBConstants.PRIMARY_KEY, DBConstants.INTEGER));
- addColumn(new DBColumn(SEQ, DBConstants.NOT_NULL, DBConstants.INTEGER));
+ addColumn(new DBColumn(SEQ, DBConstants.NOT_NULL, DBConstants.LONG));
addColumn(new DBColumn(TIME, DBConstants.NOT_NULL, DBConstants.LONG));
addColumn(new DBColumn(SEC, DBConstants.NOT_NULL, DBConstants.INTEGER));
addColumn(new DBColumn(NANO, DBConstants.NOT_NULL, DBConstants.INTEGER));
for (List<Object> data : result) {
RecordEventObject reObj = new RecordEventObject();
reObj.setId((Integer) data.get(DB_RID_INDEX));
- reObj.setSeq((Integer) data.get(DB_SEQ_INDEX));
+ reObj.setSeq((Long) data.get(DB_SEQ_INDEX));
reObj.setTime((Long) data.get(DB_TIME_INDEX));
DATime eventTime = new DATime();
eventTime.setSec((Integer) data.get(DB_SEC_INDEX));
} else {
try {
prep.setInt(DB_RID_INDEX + 1, (Integer) (rowData.get(DB_RID_INDEX)));
- prep.setInt(DB_SEQ_INDEX + 1, (Integer) (rowData.get(DB_SEQ_INDEX)));
+ prep.setLong(DB_SEQ_INDEX + 1, (Long) (rowData.get(DB_SEQ_INDEX)));
prep.setLong(DB_TIME_INDEX + 1, (Long) (rowData.get(DB_TIME_INDEX)));
prep.setInt(DB_SEC_INDEX + 1, (Integer) (rowData.get(DB_SEC_INDEX)));
prep.setInt(DB_NANO_INDEX + 1, (Integer) (rowData.get(DB_NANO_INDEX)));