mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Integrated Spring v3 snapshot CI-477
- Fixes SPR-6411 and SPR-6412 - Removes dependency on Hibernate v3.3 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17664 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -24,10 +24,10 @@
|
||||
*/
|
||||
package org.alfresco.util;
|
||||
|
||||
import org.alfresco.config.FixedClassPathXmlApplicationContext;
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.SessionFactory;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.orm.hibernate3.SessionFactoryUtils;
|
||||
import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests;
|
||||
|
||||
@@ -120,7 +120,7 @@ public abstract class BaseSpringTest extends AbstractTransactionalDataSourceSpri
|
||||
else
|
||||
{
|
||||
String[] configLocations = (String[]) key;
|
||||
return new FixedClassPathXmlApplicationContext(configLocations);
|
||||
return new ClassPathXmlApplicationContext(configLocations);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user