fix(스케줄러): Quartz PostgreSQLDelegate 필터링 제외 — BYTEA 컬럼 읽기 오류 수정 (#12)
- driverDelegateClass를 properties 필터에서 제외하여 PostgreSQLDelegate 유지 - StdJDBCDelegate가 PostgreSQL BYTEA 컬럼을 long으로 읽으려는 오류 해결 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
부모
0b4f64439b
커밋
db0461e416
@ -40,10 +40,11 @@ public class QuartzConfig {
|
|||||||
factory.setAutoStartup(false);
|
factory.setAutoStartup(false);
|
||||||
|
|
||||||
// application.yml의 spring.quartz.properties 적용
|
// application.yml의 spring.quartz.properties 적용
|
||||||
// jobStore.class와 driverDelegateClass는 setDataSource()가 내부적으로 설정하므로 제외
|
// jobStore.class는 setDataSource()가 LocalDataSourceJobStore로 대체하므로 제외
|
||||||
|
// driverDelegateClass는 PostgreSQLDelegate가 필요하므로 유지
|
||||||
Properties properties = new Properties();
|
Properties properties = new Properties();
|
||||||
quartzProperties.getProperties().forEach((key, value) -> {
|
quartzProperties.getProperties().forEach((key, value) -> {
|
||||||
if (!key.contains("jobStore.class") && !key.contains("driverDelegateClass")) {
|
if (!key.contains("jobStore.class")) {
|
||||||
properties.put(key, value);
|
properties.put(key, value);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
불러오는 중...
Reference in New Issue
Block a user