HHH-8898 Change the SessionFactory API to enable auto-closeable when running on Java7
This commit is contained in:
parent
7c006f7fcd
commit
4d70a29e58
|
@ -51,7 +51,7 @@ import org.hibernate.stat.Statistics;
|
|||
* @author Gavin King
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public interface SessionFactory extends Referenceable, Serializable {
|
||||
public interface SessionFactory extends Referenceable, Serializable, java.io.Closeable {
|
||||
|
||||
/**
|
||||
* Get the special options used to build the factory.
|
||||
|
|
Loading…
Reference in New Issue