dbflute / dbflute-core

DBFlute core libraries for Java8
http://dbflute.seasar.org/
23 stars 18 forks source link

DBFlute Engine: dfprop option to change javax to jakarta package #169

Closed jflute closed 11 months ago

jflute commented 1 year ago

my tweet: https://twitter.com/jflute/status/1632673094874861568

DBFlute Runtime: no problem (using javax.sql.DataSource only) DBFlute Engine: no problem (using javax.sql.DataSource and javax.script and javax.xml.parser) Velocity Template: many problems

littleAdjustmentMap.dfprop:

; isMigrateOldJavaxToJakarta = true

While, we can get no dependency to the issue by Spring Framework's Qualifier (when Spring use). So I will fix it like this:

@javax.annotation.Resource(name="${database.behaviorCommandInvokerComponentName}")
↓
@org.springframework.beans.factory.annotation.Autowired
@org.springframework.beans.factory.annotation.Qualifier("${database.behaviorCommandInvokerComponentName}")