conn = m_connectionPool.getReadWriteConnection();
s = conn.prepareStatement(PID_VERSION_QUERY);
s.setString(1, obj.getPid());
results = s.executeQuery();
if (!results.next()) {
throw new ObjectNotFoundException(
"Error creating replication job: The requested object " +
pid + " doesn't exist in the registry.");
}
int systemVersion = results.getInt("systemVersion");
systemVersion++;