HHH-8898 Change the ScrollableResults API to enable auto-closeable when running on Java7

This commit is contained in:
Sanne Grinovero 2015-05-09 13:56:20 +01:00
parent 4d70a29e58
commit d7bf58e318
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ import org.hibernate.type.Type;
*
* @author Gavin King
*/
public interface ScrollableResults {
public interface ScrollableResults extends java.io.Closeable {
/**
* Advance to the next result.
*