Compare commits
No commits in common. "7ce3cd56d769eedd8ee1705705c869d807979e0e" and "de5728dbeba8cc5eb602cbbe84ec7f83e010da27" have entirely different histories.
7ce3cd56d7
...
de5728dbeb
@ -1,8 +1,6 @@
|
||||
package com.interplug.qcast.config.batch;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
|
||||
import org.springframework.batch.core.repository.JobRepository;
|
||||
import org.springframework.batch.core.repository.support.JobRepositoryFactoryBean;
|
||||
import org.springframework.batch.support.DatabaseType;
|
||||
@ -17,7 +15,6 @@ import org.springframework.transaction.PlatformTransactionManager;
|
||||
* Spring Batch Configuration for SQL Server without sequence support
|
||||
*/
|
||||
@Configuration
|
||||
@EnableBatchProcessing(modular = false)
|
||||
public class BatchConfiguration {
|
||||
|
||||
/**
|
||||
@ -37,8 +34,8 @@ public class BatchConfiguration {
|
||||
factory.setIsolationLevelForCreate("ISOLATION_SERIALIZABLE");
|
||||
|
||||
// SQL Server 데이터베이스 타입 설정
|
||||
//factory.setDatabaseType(DatabaseType.SQLSERVER.getProductName());
|
||||
factory.setDatabaseType("sqlserver");
|
||||
factory.setDatabaseType(DatabaseType.SQLSERVER.getProductName());
|
||||
|
||||
factory.afterPropertiesSet();
|
||||
return factory.getObject();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user