HHH-7910 Transaction timeout can cause non-threadsafe session access by reaper thread
HHH-3683 Enable order_inserts for entities with automatically generated
keys.