127 lines
7.2 KiB
XML
127 lines
7.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuite name="org.springframework.batch.sample.iosample.HibernateFunctionalTests" tests="1" skipped="0" failures="0" errors="0" timestamp="2017-03-23T15:06:11" hostname="Michaels-MacBook-Pro-3.local" time="0.09">
|
|
<properties/>
|
|
<testcase name="testUpdateCredit" classname="org.springframework.batch.sample.iosample.HibernateFunctionalTests" time="0.09"/>
|
|
<system-out><![CDATA[10:06:10,767 INFO Test worker DefaultTestContextBootstrapper:187 - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@248aa716, org.springframework.batch.test.StepScopeTestExecutionListener@22633032]
|
|
10:06:10,768 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [simple-job-launcher-context.xml]
|
|
10:06:10,783 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [data-source-context.xml]
|
|
10:06:10,801 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [org/springframework/batch/sample/config/common-context.xml]
|
|
10:06:10,818 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [job-runner-context.xml]
|
|
10:06:10,841 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [jobs/ioSampleJob.xml]
|
|
10:06:10,864 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [hibernate-context.xml]
|
|
10:06:10,874 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:10,876 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [jobs/iosample/hibernate.xml]
|
|
10:06:10,885 INFO Test worker GenericApplicationContext:581 - Refreshing org.springframework.context.support.GenericApplicationContext@61784bf2: startup date [Thu Mar 23 10:06:10 CDT 2017]; root of context hierarchy
|
|
10:06:11,007 INFO Test worker AutowiredAnnotationBeanPostProcessor:151 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
|
|
10:06:11,044 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:11,082 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [org/springframework/batch/core/schema-drop-hsqldb.sql]
|
|
10:06:11,096 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [org/springframework/batch/core/schema-drop-hsqldb.sql] in 13 ms.
|
|
10:06:11,097 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [org/springframework/batch/core/schema-hsqldb.sql]
|
|
10:06:11,102 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [org/springframework/batch/core/schema-hsqldb.sql] in 5 ms.
|
|
10:06:11,102 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [business-schema-hsqldb.sql]
|
|
10:06:11,115 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [business-schema-hsqldb.sql] in 12 ms.
|
|
[warn 2017/03/23 10:06:11.187 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:11.746 CDT <Test worker> tid=0xc] HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
|
|
|
|
10:06:11,790 INFO Test worker HibernateTransactionManager:357 - Using DataSource [org.apache.commons.dbcp.BasicDataSource@22bf4f56] of Hibernate SessionFactory for HibernateTransactionManager
|
|
10:06:11,791 INFO Test worker JobRepositoryFactoryBean:184 - No database type set, using meta data indicating: HSQL
|
|
10:06:11,792 INFO Test worker SimpleJobLauncher:201 - No TaskExecutor has been set, defaulting to synchronous executor.
|
|
[info 2017/03/23 10:06:11.933 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_
|
|
10:06:11,948 INFO Test worker SimpleJobLauncher:139 - Job: [FlowJob: [name=ioSampleJob]] launched with the following parameters: [{random=419577}]
|
|
10:06:11,967 INFO Test worker SimpleStepHandler:146 - Executing step: [step1]
|
|
Hibernate:
|
|
select
|
|
customercr0_.id as id1_0_,
|
|
customercr0_.name as name2_0_,
|
|
customercr0_.credit as credit3_0_
|
|
from
|
|
CUSTOMER customercr0_
|
|
Hibernate:
|
|
select
|
|
customercr_.id,
|
|
customercr_.name as name2_0_,
|
|
customercr_.credit as credit3_0_
|
|
from
|
|
CUSTOMER customercr_
|
|
where
|
|
customercr_.id=?
|
|
Hibernate:
|
|
select
|
|
customercr_.id,
|
|
customercr_.name as name2_0_,
|
|
customercr_.credit as credit3_0_
|
|
from
|
|
CUSTOMER customercr_
|
|
where
|
|
customercr_.id=?
|
|
Hibernate:
|
|
update
|
|
CUSTOMER
|
|
set
|
|
name=?,
|
|
credit=?
|
|
where
|
|
id=?
|
|
Hibernate:
|
|
update
|
|
CUSTOMER
|
|
set
|
|
name=?,
|
|
credit=?
|
|
where
|
|
id=?
|
|
Hibernate:
|
|
select
|
|
customercr_.id,
|
|
customercr_.name as name2_0_,
|
|
customercr_.credit as credit3_0_
|
|
from
|
|
CUSTOMER customercr_
|
|
where
|
|
customercr_.id=?
|
|
Hibernate:
|
|
select
|
|
customercr_.id,
|
|
customercr_.name as name2_0_,
|
|
customercr_.credit as credit3_0_
|
|
from
|
|
CUSTOMER customercr_
|
|
where
|
|
customercr_.id=?
|
|
Hibernate:
|
|
update
|
|
CUSTOMER
|
|
set
|
|
name=?,
|
|
credit=?
|
|
where
|
|
id=?
|
|
Hibernate:
|
|
update
|
|
CUSTOMER
|
|
set
|
|
name=?,
|
|
credit=?
|
|
where
|
|
id=?
|
|
10:06:12,017 INFO Test worker SimpleJobLauncher:142 - Job: [FlowJob: [name=ioSampleJob]] completed with the following parameters: [{random=419577}] and the following status: [COMPLETED]
|
|
Hibernate:
|
|
select
|
|
customercr0_.id as id1_0_,
|
|
customercr0_.name as name2_0_,
|
|
customercr0_.credit as credit3_0_
|
|
from
|
|
CUSTOMER customercr0_
|
|
]]></system-out>
|
|
<system-err><![CDATA[]]></system-err>
|
|
</testsuite>
|