[英]How can I set isolation-level-for-create via yaml configuration file for spring batch
我在這里通過 Java 代碼找到了一個解決方案: https://docs.spring.io/spring-batch/docs/4.2.
但是,如果可能,我想通過批處理配置文件中 yaml 格式的配置以簡單的方式進行。
謝謝你。
據我所知,目前 yaml 中沒有這樣的屬性可用。
There is an open feature request in Spring Boot ( https://github.com/spring-projects/spring-boot/issues/28802 ) that may result in a property like spring.batch.jdbc.isolation-level-for-create
在將來。 在此之前,您需要使用 Java(或 XML)配置。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.