compatibility checks - inserting into db via explicit session