It is a protected method, I could use it if we change the package of `OgmEntityManager` to`org.hibernate.jpa.spi`