private static final String TABLENAME = "REPLAY";//$NON-NLS-1$
public static final String RID = "RID";//$NON-NLS-1$
- public static final String SEQ = "SEQ";//$NON-NLS-1$
+ public static final String SEQ = "SEQUENCE_NUMBER";//$NON-NLS-1$
public static final String TIME = "TIME";//$NON-NLS-1$
public static final String SEC = "SEC";//$NON-NLS-1$
public static final String NANO = "NANO";//$NON-NLS-1$
}
public ReplayDBManager() {
- addColumn(new DBColumn(RID, DBConstants.PRIMARY_KEY, 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));
- addColumn(new DBColumn(EVENT_ID, DBConstants.NOT_NULL, DBConstants.INTEGER));
- addColumn(new DBColumn(EVENT_TYPE, DBConstants.NOT_NULL, DBConstants.INTEGER));
- addColumn(new DBColumn(EVENT_CODE, DBConstants.NOT_NULL, DBConstants.INTEGER));
- addColumn(new DBColumn(EVENT_VALUE, DBConstants.NOT_NULL, DBConstants.INTEGER));
+ addColumn(new DBColumn(RID, DBConstants.PRIMARY_KEY, DBConstants.DBTYPE_INT4));
+ addColumn(new DBColumn(SEQ, DBConstants.NOT_NULL, DBConstants.DBTYPE_LONG));
+ addColumn(new DBColumn(TIME, DBConstants.NOT_NULL, DBConstants.DBTYPE_LONG));
+ addColumn(new DBColumn(SEC, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
+ addColumn(new DBColumn(NANO, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
+ addColumn(new DBColumn(EVENT_ID, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
+ addColumn(new DBColumn(EVENT_TYPE, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
+ addColumn(new DBColumn(EVENT_CODE, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
+ addColumn(new DBColumn(EVENT_VALUE, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
}
public ReplayData getReplayLogs() {