105 lines
8.2 KiB
XML
105 lines
8.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuite name="org.springframework.batch.sample.HibernateFailureJobFunctionalTests" tests="1" skipped="0" failures="0" errors="0" timestamp="2017-03-23T15:06:08" hostname="Michaels-MacBook-Pro-3.local" time="1.028">
|
|
<properties/>
|
|
<testcase name="testLaunchJob" classname="org.springframework.batch.sample.HibernateFailureJobFunctionalTests" time="1.028"/>
|
|
<system-out><![CDATA[10:06:01,888 INFO Test worker DefaultTestContextBootstrapper:260 - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
|
|
10:06:01,889 INFO Test worker DefaultTestContextBootstrapper:187 - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6ac6fe03, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6acd8f44, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3d552c5a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@481ec2e0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@15f51b06, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@13441153]
|
|
10:06:01,891 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [simple-job-launcher-context.xml]
|
|
10:06:01,914 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [data-source-context.xml]
|
|
10:06:01,931 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [org/springframework/batch/sample/config/common-context.xml]
|
|
10:06:01,939 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [hibernate-context.xml]
|
|
10:06:01,948 INFO Test worker DefaultListableBeanFactory:818 - Overriding bean definition for bean 'transactionManager' with a different definition: replacing [Generic bean: class [org.springframework.jdbc.datasource.DataSourceTransactionManager]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [data-source-context.xml]] with [Generic bean: class [org.springframework.orm.hibernate5.HibernateTransactionManager]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [hibernate-context.xml]]
|
|
10:06:01,949 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [jobs/hibernateJob.xml]
|
|
10:06:01,966 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [job-runner-context.xml]
|
|
10:06:01,979 INFO Test worker GenericApplicationContext:581 - Refreshing org.springframework.context.support.GenericApplicationContext@7e7c89d: startup date [Thu Mar 23 10:06:01 CDT 2017]; root of context hierarchy
|
|
10:06:02,047 INFO Test worker AutowiredAnnotationBeanPostProcessor:151 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
|
|
10:06:02,070 INFO Test worker PostProcessorRegistrationDelegate$BeanPostProcessorChecker:325 - Bean 'jobRegistry' of type [class org.springframework.batch.core.configuration.support.MapJobRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
10:06:02,093 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [org/springframework/batch/core/schema-drop-hsqldb.sql]
|
|
10:06:02,100 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [org/springframework/batch/core/schema-drop-hsqldb.sql] in 6 ms.
|
|
10:06:02,101 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [org/springframework/batch/core/schema-hsqldb.sql]
|
|
10:06:02,106 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [org/springframework/batch/core/schema-hsqldb.sql] in 5 ms.
|
|
10:06:02,106 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [business-schema-hsqldb.sql]
|
|
10:06:02,115 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [business-schema-hsqldb.sql] in 9 ms.
|
|
[info 2017/03/23 10:06:04.144 CDT <Test worker> tid=0xc] HHH000412: Hibernate Core {5.2.2.Final}
|
|
|
|
[info 2017/03/23 10:06:04.150 CDT <Test worker> tid=0xc] HHH000206: hibernate.properties not found
|
|
|
|
[info 2017/03/23 10:06:04.154 CDT <Test worker> tid=0xc] HHH000021: Bytecode provider name : javassist
|
|
|
|
[warn 2017/03/23 10:06:04.602 CDT <Test worker> tid=0xc] HHH90000012: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/hibernate-mapping. Use namespace http://www.hibernate.org/dtd/hibernate-mapping instead. Support for obsolete DTD/XSD namespaces may be removed at any time.
|
|
|
|
[info 2017/03/23 10:06:06.086 CDT <Test worker> tid=0xc] HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
|
|
|
|
[info 2017/03/23 10:06:06.417 CDT <Test worker> tid=0xc] HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
|
|
|
|
[info 2017/03/23 10:06:07.186 CDT <Test worker> tid=0xc] HV000001: Hibernate Validator 5.3.0.CR1
|
|
|
|
10:06:07,995 INFO Test worker HibernateTransactionManager:357 - Using DataSource [org.apache.commons.dbcp.BasicDataSource@7789f96e] of Hibernate SessionFactory for HibernateTransactionManager
|
|
10:06:07,995 INFO Test worker JobRepositoryFactoryBean:184 - No database type set, using meta data indicating: HSQL
|
|
10:06:07,997 INFO Test worker SimpleJobLauncher:201 - No TaskExecutor has been set, defaulting to synchronous executor.
|
|
10:06:08,445 INFO Test worker SimpleJobLauncher:139 - Job: [FlowJob: [name=hibernateJob]] launched with the following parameters: [{key=failureJob}]
|
|
10:06:08,465 INFO Test worker SimpleStepHandler:146 - Executing step: [step1]
|
|
[info 2017/03/23 10:06:08.532 CDT <Test worker> tid=0xc] HHH000397: Using ASTQueryTranslatorFactory
|
|
|
|
Hibernate:
|
|
select
|
|
customercr0_.id as id1_0_,
|
|
customercr0_.name as name2_0_,
|
|
customercr0_.credit as credit3_0_
|
|
from
|
|
CUSTOMER customercr0_
|
|
Hibernate:
|
|
insert
|
|
into
|
|
CUSTOMER
|
|
(name, credit, id)
|
|
values
|
|
(?, ?, ?)
|
|
[warn 2017/03/23 10:06:09.165 CDT <Test worker> tid=0xc] SQL Error: -104, SQLState: 23505
|
|
|
|
[error 2017/03/23 10:06:09.165 CDT <Test worker> tid=0xc] integrity constraint violation: unique constraint or index violation; SYS_PK_12779 table: CUSTOMER
|
|
|
|
[info 2017/03/23 10:06:09.169 CDT <Test worker> tid=0xc] HHH000010: On release of batch it still contained JDBC statements
|
|
|
|
Hibernate:
|
|
update
|
|
CUSTOMER
|
|
set
|
|
name=?,
|
|
credit=?
|
|
where
|
|
id=?
|
|
Hibernate:
|
|
insert
|
|
into
|
|
CUSTOMER
|
|
(name, credit, id)
|
|
values
|
|
(?, ?, ?)
|
|
[warn 2017/03/23 10:06:09.189 CDT <Test worker> tid=0xc] SQL Error: -104, SQLState: 23505
|
|
|
|
[error 2017/03/23 10:06:09.189 CDT <Test worker> tid=0xc] integrity constraint violation: unique constraint or index violation; SYS_PK_12779 table: CUSTOMER
|
|
|
|
[info 2017/03/23 10:06:09.189 CDT <Test worker> tid=0xc] HHH000010: On release of batch it still contained JDBC statements
|
|
|
|
Hibernate:
|
|
update
|
|
CUSTOMER
|
|
set
|
|
name=?,
|
|
credit=?
|
|
where
|
|
id=?
|
|
Hibernate:
|
|
update
|
|
CUSTOMER
|
|
set
|
|
name=?,
|
|
credit=?
|
|
where
|
|
id=?
|
|
10:06:09,215 INFO Test worker SimpleJobLauncher:142 - Job: [FlowJob: [name=hibernateJob]] completed with the following parameters: [{key=failureJob}] and the following status: [COMPLETED]
|
|
]]></system-out>
|
|
<system-err><![CDATA[]]></system-err>
|
|
</testsuite>
|