org.hibernate.engine.spi
Interface SessionOwner

All Known Implementing Classes:
EntityManagerImpl

public interface SessionOwner

The contract for a Session owner. Typically this is something that wraps the Session.

See Also:
SessionBuilderImplementor.owner(org.hibernate.engine.spi.SessionOwner)

Method Summary
 boolean shouldAutoCloseSession()
          Should session automatically be closed after transaction completion?
 

Method Detail

shouldAutoCloseSession

boolean shouldAutoCloseSession()
Should session automatically be closed after transaction completion?

Returns:
true/false appropriately.


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.