Automatic canonicalization after mass import fails due to database constraints violation:
WARN 2014-07-29 14:21:58,364 taskExecutor-1 org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 0, SQLState: 23503
ERROR 2014-07-29 14:21:58,369 taskExecutor-1 org.hibernate.engine.jdbc.spi.SqlExceptionHelper - ERROR: insert or update on table "canonicoutput" violates foreign key constraint "fk_dldcek83hqa4xkwukis9ebs7a"
Detail: Key (applicationrun_id)=(4) is not present in table "applicationrun".
INFO 2014-07-29 14:21:58,370 taskExecutor-1 org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl - HHH000010: On release of batch it still contained JDBC statements