HHH-5811 : Flush causes update query on field of type Byte[]