minor cleanup
This commit is contained in:
parent
ca74e60de8
commit
cada4a4027
|
@ -229,8 +229,8 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Spring -->
|
<!-- Spring -->
|
||||||
<org.springframework.version>4.2.5.RELEASE</org.springframework.version>
|
<org.springframework.version>4.3.2.RELEASE</org.springframework.version>
|
||||||
<org.springframework.security.version>4.0.4.RELEASE</org.springframework.security.version>
|
<org.springframework.security.version>4.1.1.RELEASE</org.springframework.security.version>
|
||||||
<javassist.version>3.20.0-GA</javassist.version>
|
<javassist.version>3.20.0-GA</javassist.version>
|
||||||
<jstl.version>1.2</jstl.version>
|
<jstl.version>1.2</jstl.version>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
package org.baeldung.ex.nontransientdataaccessexception;
|
package org.baeldung.ex.nontransientdataaccessexception;
|
||||||
|
|
||||||
|
import java.util.logging.Level;
|
||||||
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import org.baeldung.ex.nontransientexception.cause.Cause1NonTransientConfig;
|
import org.baeldung.ex.nontransientexception.cause.Cause1NonTransientConfig;
|
||||||
import org.baeldung.persistence.model.Foo;
|
import org.baeldung.persistence.model.Foo;
|
||||||
import org.baeldung.persistence.service.IFooService;
|
import org.baeldung.persistence.service.IFooService;
|
||||||
|
@ -12,14 +15,11 @@ import org.springframework.test.context.ContextConfiguration;
|
||||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||||
import org.springframework.test.context.support.AnnotationConfigContextLoader;
|
import org.springframework.test.context.support.AnnotationConfigContextLoader;
|
||||||
|
|
||||||
import java.util.logging.Level;
|
|
||||||
import java.util.logging.Logger;
|
|
||||||
|
|
||||||
@RunWith(SpringJUnit4ClassRunner.class)
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
@ContextConfiguration(classes = { Cause1NonTransientConfig.class }, loader = AnnotationConfigContextLoader.class)
|
@ContextConfiguration(classes = { Cause1NonTransientConfig.class }, loader = AnnotationConfigContextLoader.class)
|
||||||
public class CleanupFailureExceptionTest {
|
public class CleanupFailureExceptionTest {
|
||||||
|
|
||||||
private static final Logger LOG = Logger.getLogger(CleanupFailureExceptionTest.class.getName());
|
private static final Logger LOG = Logger.getLogger(CleanupFailureExceptionTest.class.getName());
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private SessionFactory sessionFactory;
|
private SessionFactory sessionFactory;
|
||||||
|
|
Loading…
Reference in New Issue