HHH-8999 : Changed references to SharedSessionContractImplementor to SessionImplementor
This commit is contained in:
parent
4a341be749
commit
8bc779ef92
|
@ -88,7 +88,7 @@ public class NonSortedExecutableListTest extends BaseUnitTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterDeserialize(SharedSessionContractImplementor session) {
|
public void afterDeserialize(SessionImplementor session) {
|
||||||
this.afterDeserializeCalled = true;
|
this.afterDeserializeCalled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.hibernate.annotations.Type;
|
||||||
import org.hibernate.annotations.TypeDef;
|
import org.hibernate.annotations.TypeDef;
|
||||||
import org.hibernate.cfg.AvailableSettings;
|
import org.hibernate.cfg.AvailableSettings;
|
||||||
import org.hibernate.cfg.Configuration;
|
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.TestForIssue;
|
||||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
import org.hibernate.type.LongType;
|
import org.hibernate.type.LongType;
|
||||||
|
@ -142,7 +142,7 @@ public class UserTypeComparableIdTest extends BaseCoreFunctionalTestCase {
|
||||||
public Object nullSafeGet(
|
public Object nullSafeGet(
|
||||||
ResultSet resultSet,
|
ResultSet resultSet,
|
||||||
String[] names,
|
String[] names,
|
||||||
SharedSessionContractImplementor sessionImplementor,
|
SessionImplementor sessionImplementor,
|
||||||
Object o) throws HibernateException, SQLException {
|
Object o) throws HibernateException, SQLException {
|
||||||
Long value = resultSet.getLong( names[0] );
|
Long value = resultSet.getLong( names[0] );
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ public class UserTypeComparableIdTest extends BaseCoreFunctionalTestCase {
|
||||||
PreparedStatement preparedStatement,
|
PreparedStatement preparedStatement,
|
||||||
Object value,
|
Object value,
|
||||||
int index,
|
int index,
|
||||||
SharedSessionContractImplementor sessionImplementor) throws HibernateException, SQLException {
|
SessionImplementor sessionImplementor) throws HibernateException, SQLException {
|
||||||
CustomId customId = (CustomId) value;
|
CustomId customId = (CustomId) value;
|
||||||
|
|
||||||
if ( customId == null ) {
|
if ( customId == null ) {
|
||||||
|
|
|
@ -10,7 +10,6 @@ import java.io.Serializable;
|
||||||
import java.sql.PreparedStatement;
|
import java.sql.PreparedStatement;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.util.Comparator;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
|
@ -23,7 +22,7 @@ import org.hibernate.HibernateException;
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
||||||
import org.hibernate.annotations.Type;
|
import org.hibernate.annotations.Type;
|
||||||
import org.hibernate.annotations.TypeDef;
|
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.TestForIssue;
|
||||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
import org.hibernate.type.LongType;
|
import org.hibernate.type.LongType;
|
||||||
|
@ -131,7 +130,7 @@ public class UserTypeNonComparableIdTest extends BaseCoreFunctionalTestCase {
|
||||||
public Object nullSafeGet(
|
public Object nullSafeGet(
|
||||||
ResultSet resultSet,
|
ResultSet resultSet,
|
||||||
String[] names,
|
String[] names,
|
||||||
SharedSessionContractImplementor sessionImplementor,
|
SessionImplementor sessionImplementor,
|
||||||
Object o) throws HibernateException, SQLException {
|
Object o) throws HibernateException, SQLException {
|
||||||
Long value = resultSet.getLong( names[0] );
|
Long value = resultSet.getLong( names[0] );
|
||||||
|
|
||||||
|
@ -143,7 +142,7 @@ public class UserTypeNonComparableIdTest extends BaseCoreFunctionalTestCase {
|
||||||
PreparedStatement preparedStatement,
|
PreparedStatement preparedStatement,
|
||||||
Object value,
|
Object value,
|
||||||
int index,
|
int index,
|
||||||
SharedSessionContractImplementor sessionImplementor) throws HibernateException, SQLException {
|
SessionImplementor sessionImplementor) throws HibernateException, SQLException {
|
||||||
CustomId customId = (CustomId) value;
|
CustomId customId = (CustomId) value;
|
||||||
|
|
||||||
if ( customId == null ) {
|
if ( customId == null ) {
|
||||||
|
|
Loading…
Reference in New Issue