Documentation missleading


Is there should be == 1, due to flush?

Nice catch. This is a documentation error. It should say that the API will not trigger a flush. Could you please create an issue and a PR against the documentation? hibernate-orm/Flushing.adoc at main · hibernate/hibernate-orm · GitHub