Minor polishing after previous polish step ;-)
This commit is contained in:
parent
63e023173b
commit
786e217991
|
|
@ -144,7 +144,6 @@ public class HibernateTemplate implements HibernateOperations, InitializingBean
|
|||
* Sessions (for example, within a transaction).
|
||||
* @see #enableFilters(org.hibernate.Session)
|
||||
* @see org.hibernate.Session#enableFilter(String)
|
||||
* @see org.springframework.orm.hibernate3.LocalSessionFactoryBean#setFilterDefinitions(org.springframework.orm.hibernate3.FilterDefinition...)
|
||||
*/
|
||||
public void setFilterNames(String... filterNames) {
|
||||
this.filterNames = filterNames;
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@ public class LocalSessionFactoryBuilder extends Configuration {
|
|||
* (may be {@code null})
|
||||
* @param resourceLoader the ResourceLoader to load application classes from
|
||||
*/
|
||||
@SuppressWarnings("deprecation") // to be able to build against Hibernate 4.3
|
||||
public LocalSessionFactoryBuilder(DataSource dataSource, ResourceLoader resourceLoader) {
|
||||
getProperties().put(Environment.CURRENT_SESSION_CONTEXT_CLASS, SpringSessionContext.class.getName());
|
||||
if (dataSource != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue