Skip to content

Commit

Permalink
HHH-9790 - Remove deprecated methods from Session and SessionFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed May 13, 2015
1 parent b8f43a8 commit b605c35
Show file tree
Hide file tree
Showing 9 changed files with 204 additions and 186 deletions.
4 changes: 3 additions & 1 deletion hibernate-core/src/main/java/org/hibernate/Hibernate.java
Expand Up @@ -30,6 +30,7 @@
import org.hibernate.collection.spi.PersistentCollection;
import org.hibernate.engine.HibernateIterator;
import org.hibernate.engine.jdbc.LobCreator;
import org.hibernate.engine.jdbc.spi.JdbcServices;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.proxy.HibernateProxy;
import org.hibernate.proxy.LazyInitializer;
Expand Down Expand Up @@ -137,7 +138,8 @@ public static LobCreator getLobCreator(Session session) {
*/
public static LobCreator getLobCreator(SessionImplementor session) {
return session.getFactory()
.getJdbcServices()
.getServiceRegistry()
.getService( JdbcServices.class )
.getLobCreator( session );
}

Expand Down

0 comments on commit b605c35

Please sign in to comment.