Removed outdated hibernate3 references across the codebase
Issue: SPR-9028
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -40,13 +40,12 @@ import org.springframework.util.Assert;
|
||||
* candidate exceptions.
|
||||
*
|
||||
|
||||
* <p>All of Spring's applicable resource factories (e.g. {@link
|
||||
* org.springframework.orm.hibernate3.LocalSessionFactoryBean LocalSessionFactoryBean},
|
||||
* {@link org.springframework.orm.jpa.LocalEntityManagerFactoryBean
|
||||
* LocalEntityManagerFactoryBean}) implement the {@code PersistenceExceptionTranslator}
|
||||
* interface out of the box. As a consequence, all that is usually needed to enable
|
||||
* automatic exception translation is marking all affected beans (such as Repositories or
|
||||
* DAOs) with the {@code @Repository} annotation, along with defining this post-processor
|
||||
* <p>All of Spring's applicable resource factories (e.g.
|
||||
* {@link org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean})
|
||||
* implement the {@code PersistenceExceptionTranslator} interface out of the box.
|
||||
* As a consequence, all that is usually needed to enable automatic exception
|
||||
* translation is marking all affected beans (such as Repositories or DAOs)
|
||||
* with the {@code @Repository} annotation, along with defining this post-processor
|
||||
* as a bean in the application context.
|
||||
*
|
||||
* @author Rod Johnson
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -69,8 +69,7 @@ import org.springframework.transaction.PlatformTransactionManager;
|
||||
*
|
||||
* <p>The "preInterceptors" and "postInterceptors" properties can be set to add
|
||||
* additional interceptors to the mix, like
|
||||
* {@link org.springframework.aop.interceptor.PerformanceMonitorInterceptor} or
|
||||
* {@link org.springframework.orm.hibernate3.HibernateInterceptor}.
|
||||
* {@link org.springframework.aop.interceptor.PerformanceMonitorInterceptor}.
|
||||
*
|
||||
* <p><b>HINT:</b> This class is often used with parent / child bean definitions.
|
||||
* Typically, you will define the transaction manager and default transaction
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -34,7 +34,6 @@ import java.io.Flushable;
|
||||
* @see TransactionSynchronizationManager
|
||||
* @see AbstractPlatformTransactionManager
|
||||
* @see org.springframework.jdbc.datasource.DataSourceUtils#CONNECTION_SYNCHRONIZATION_ORDER
|
||||
* @see org.springframework.orm.hibernate3.SessionFactoryUtils#SESSION_SYNCHRONIZATION_ORDER
|
||||
*/
|
||||
public interface TransactionSynchronization extends Flushable {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user