DB transactions support for importing