/*
* For this method, we could get errors when inserting proxy paths (if
* path already exists). To deal with this the whole operation is run as
* a transaction.
*/
ps.startTransaction();
try {
int id = -1;
ps.setString(1, webForward.getDestinationURL());
ps.setInt(2, webForward.getType());