change to hibernate manual flush mode