HHH-8999 : Changed references to SharedSessionContractImplementor to SessionImplementor

This commit is contained in:
Gail Badner 2016-06-21 12:26:56 -07:00
parent 4a341be749
commit 8bc779ef92
3 changed files with 7 additions and 8 deletions

View File

@ -88,7 +88,7 @@ public class NonSortedExecutableListTest extends BaseUnitTestCase {
}
@Override
public void afterDeserialize(SharedSessionContractImplementor session) {
public void afterDeserialize(SessionImplementor session) {
this.afterDeserializeCalled = true;
}

View File

@ -25,7 +25,7 @@ import org.hibernate.annotations.Type;
import org.hibernate.annotations.TypeDef;
import org.hibernate.cfg.AvailableSettings;
import org.hibernate.cfg.Configuration;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.hibernate.type.LongType;
@ -142,7 +142,7 @@ public class UserTypeComparableIdTest extends BaseCoreFunctionalTestCase {
public Object nullSafeGet(
ResultSet resultSet,
String[] names,
SharedSessionContractImplementor sessionImplementor,
SessionImplementor sessionImplementor,
Object o) throws HibernateException, SQLException {
Long value = resultSet.getLong( names[0] );
@ -154,7 +154,7 @@ public class UserTypeComparableIdTest extends BaseCoreFunctionalTestCase {
PreparedStatement preparedStatement,
Object value,
int index,
SharedSessionContractImplementor sessionImplementor) throws HibernateException, SQLException {
SessionImplementor sessionImplementor) throws HibernateException, SQLException {
CustomId customId = (CustomId) value;
if ( customId == null ) {

View File

@ -10,7 +10,6 @@ import java.io.Serializable;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Comparator;
import javax.persistence.Column;
import javax.persistence.Entity;
@ -23,7 +22,7 @@ import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.annotations.Type;
import org.hibernate.annotations.TypeDef;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.hibernate.type.LongType;
@ -131,7 +130,7 @@ public class UserTypeNonComparableIdTest extends BaseCoreFunctionalTestCase {
public Object nullSafeGet(
ResultSet resultSet,
String[] names,
SharedSessionContractImplementor sessionImplementor,
SessionImplementor sessionImplementor,
Object o) throws HibernateException, SQLException {
Long value = resultSet.getLong( names[0] );
@ -143,7 +142,7 @@ public class UserTypeNonComparableIdTest extends BaseCoreFunctionalTestCase {
PreparedStatement preparedStatement,
Object value,
int index,
SharedSessionContractImplementor sessionImplementor) throws HibernateException, SQLException {
SessionImplementor sessionImplementor) throws HibernateException, SQLException {
CustomId customId = (CustomId) value;
if ( customId == null ) {