NH-3588

Fixed Creating/Dropping of temporary table if the dialect doesn't
support mixing of DDL and DML statements in the same tranaction