It doesn't matter what we set it to, it's always 0.
The reason is that in SessionFactoryOptionsBuilder, there's a check to see if the database supports batching and it always return false. It happens because we don't extract the info from the database