private void readProperties(Properties props) throws Exception {
tableName = props.getProperty(PROPERTIES_KEY_TABLE_NAME, DEFAULT_TABLE_NAME);
idColumnName = props.getProperty(PROPERTIES_KEY_ID_COLUMN_NAME, DEFAULT_ID_COLUMN_NAME);
idSequenceName = props.getProperty(PROPERTIES_KEY_ID_SEQUENCE_NAME, DEFAULT_ID_SEQUENCE_NAME);
String serverFieldList = props.getProperty(PROPERTIES_KEY_SERVER_SUPPORTED_COLUMNS, DEFAULT_SERVER_SUPPORTED_COLUMNS);
String clientFieldList = props.getProperty(PROPERTIES_KEY_CLIENT_SIDE_COLUMNS, DEFAULT_CLIENT_SIDE_COLUMNS);
createServerSupportedAndClientSideLists(serverFieldList, clientFieldList);
allFieldsInDb(serverFieldList, true);
allFieldsInDb(clientFieldList, false);
if (serverSupported.includes(idColumnName)) {
serverSupported.setAutoIncrementSequence(idColumnName, idSequenceName);
} else {
throw new Exception(idColumnName + " must be included in the serverSupported field list.");
}
deleteSqlStatement = "DELETE FROM \""+tableName+"\" WHERE \""+idColumnName+"\" = ?;";
}