Hibernate now supports flushing