Update the Micronaut Data library
Apache 2.0This recipe will make the necessary updates for using Micronaut Data with Micronaut Framework 4.
org. openrewrite. java. micronaut. UpdateMicronautDatamod run . --recipe= org. openrewrite. java. micronaut. UpdateMicronautDataInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Remove XML tag
/project/properties/micronaut.data.version - Rename package name
javax.transactiontojakarta.transaction - Change type
io.micronaut.data.jdbc.annotation.ColumnTransformertoio.micronaut.data.annotation.sql.ColumnTransformer - Change type
io.micronaut.data.jdbc.annotation.JoinColumntoio.micronaut.data.annotation.sql.JoinColumn - Change type
io.micronaut.data.jdbc.annotation.JoinColumnstoio.micronaut.data.annotation.sql.JoinColumns - Change type
io.micronaut.data.jdbc.annotation.JoinTabletoio.micronaut.data.annotation.sql.JoinTable - Change type
TransactionalAdvicetoTransactional