Migrate @JoinTable to @CollectionTable for element collections
ProprietaryReplaces @JoinTable with @CollectionTable when used alongside @CollectionOfElements or @ElementCollection. @CollectionTable is the JPA 2.0 standard for defining the table that stores element collections. When inverseJoinColumns is present, its column name is preserved as a @Column annotation.
io. moderne. hibernate. update40. MigrateJoinTableToCollectionTablemod run . --recipe= io. moderne. hibernate. update40. MigrateJoinTableToCollectionTableInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.