Forgot to turn this check on properly.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@391 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -16,6 +16,7 @@ import com.samskivert.io.ByteArrayOutInputStream;
|
|||||||
import com.samskivert.io.PersistenceException;
|
import com.samskivert.io.PersistenceException;
|
||||||
import com.samskivert.util.HashIntMap;
|
import com.samskivert.util.HashIntMap;
|
||||||
|
|
||||||
|
import com.samskivert.jdbc.DuplicateKeyException;
|
||||||
import com.samskivert.jdbc.depot.CacheInvalidator;
|
import com.samskivert.jdbc.depot.CacheInvalidator;
|
||||||
import com.samskivert.jdbc.depot.DepotRepository;
|
import com.samskivert.jdbc.depot.DepotRepository;
|
||||||
import com.samskivert.jdbc.depot.PersistenceContext.CacheEvictionFilter;
|
import com.samskivert.jdbc.depot.PersistenceContext.CacheEvictionFilter;
|
||||||
@@ -246,9 +247,9 @@ public class StatRepository extends DepotRepository
|
|||||||
// if this is not a duplicate row exception, something is booched and we
|
// if this is not a duplicate row exception, something is booched and we
|
||||||
// just fail
|
// just fail
|
||||||
|
|
||||||
// if (!liaison.isDuplicateRowException(sqe)) {
|
if (!(pe instanceof DuplicateKeyException)) {
|
||||||
// throw sqe;
|
throw pe;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// if it is a duplicate row exception, possibly someone inserted our value
|
// if it is a duplicate row exception, possibly someone inserted our value
|
||||||
// before we could, in which case we can just look up the new mapping
|
// before we could, in which case we can just look up the new mapping
|
||||||
|
|||||||
Reference in New Issue
Block a user