Deprecate Hibernate 3 support

Issue: SPR-13230
This commit is contained in:
Juergen Hoeller
2015-12-17 17:17:05 +01:00
parent a2a9c47e59
commit e90942223f
47 changed files with 139 additions and 57 deletions

View File

@@ -42,7 +42,9 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Phillip Webb
* @since 05.03.2005
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@Deprecated
public class HibernateInterceptorTests {
private SessionFactory sessionFactory;

View File

@@ -55,7 +55,9 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Phillip Webb
* @since 05.03.2005
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@Deprecated
public class HibernateJtaTransactionTests {
@After

View File

@@ -73,8 +73,10 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Phillip Webb
* @since 05.03.2005
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
@Deprecated
@SuppressWarnings({"rawtypes", "unchecked"})
public class HibernateTemplateTests {
private SessionFactory sessionFactory;

View File

@@ -65,7 +65,9 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Phillip Webb
* @since 05.03.2005
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@Deprecated
@SuppressWarnings({"rawtypes", "unchecked", "deprecation"})
public class HibernateTransactionManagerTests {

View File

@@ -61,7 +61,9 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Phillip Webb
* @since 05.03.2005
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@Deprecated
public class LocalSessionFactoryBeanTests {
@Test

View File

@@ -31,7 +31,9 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Phillip Webb
* @since 05.03.2005
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@Deprecated
public class HibernateDaoSupportTests {
@Test

View File

@@ -50,7 +50,9 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Phillip Webb
* @since 05.03.2005
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@Deprecated
public class LobTypeTests {
private ResultSet rs = mock(ResultSet.class);

View File

@@ -68,7 +68,9 @@ import static org.mockito.BDDMockito.*;
* @author Rossen Stoyanchev
* @author Phillip Webb
* @since 05.03.2005
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@Deprecated
public class OpenSessionInViewTests {
private MockServletContext sc;

View File

@@ -27,7 +27,9 @@ import static org.junit.Assert.*;
* Unit tests for {@link ScopedBeanInterceptor}.
*
* @author Costin Leau
* @deprecated as of Spring 4.3, in favor of Hibernate 4.x/5.x
*/
@Deprecated
public class ScopedBeanInterceptorTests {
private final ScopedBeanInterceptor interceptor = new ScopedBeanInterceptor();