Migrate @Columns removed in Hibernate 7.3

Proprietary

Hibernate 7.3 removed @org.hibernate.annotations.Columns. When it wraps a single @Column, this recipe replaces it with that @Column. When it wraps several, the mapping needs a manual move to a @CompositeType embeddable, so this recipe leaves a TODO comment on the member instead.

io.moderne.hibernate.update73.MigrateColumnsAnnotation
mod run . --recipe=io.moderne.hibernate.update73.MigrateColumnsAnnotation

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.