v2.4.0 (2021-04-21)
Implemented enhancements:
- Batch Updates #690
Fixed bugs:
- AsyncCrudRepository.delete() can throw ClassCastException #962
- BeanInstantiationException with Micronaut 2.3.4 and Micronaut Data (JDBC) - Composite key #929
- Micronaut Data JDBC with a Postgres Backend and a complex tree with Composite keys throws exception on insertion #897
- Entities with @Embedded properties and non-default NamingStrategy cannot be used #866
- Micronaut data is unable to resolve properties in joined entity when Introspected DTO is used for projection #853
- Micronaut Data fails on update for entities with UUIDs #821
- Cascading save/persist not working with @OnetoOne #815
- JPA repository findById does not work with composite ID set by @IdClass #807
Closed issues:
- micronaut-data problem with JdbcRepository multiple data sources not accurate inject #980
- DTO Projections do not work with @query annotations #975
- [Enhancement] Add method updateAll to CrudRepository #971
- Kotlin data class MappedEntity Support #989
- Compilation error implementing repository interface with JPA and snapshot version #950
- Repository @Join not working with Page #939
- Document r2dbc #895
- Error when use DTO with @query #848
- JPA - Using @Join for multi parent level (single ended associations) #833
- Issue with bidirectional relationship #760
- Improve story around joining many to many associations (JDBC) #679
- Batch insert for MSSQL #629
- Lack of Batch Update possibilities #601
- Document optimistic locking #556
Merged pull requests:
- Enable batching for MySql #993 (@dstepanov)
- More docs #992 (@dstepanov)
- Allow to specify the naming strategy for DTOs #991 (@dstepanov)
- Add kotlin immutable data classes example #990 (@dstepanov)
- Support different enum mappings #988 (@dstepanov)
- Cleanup deprecated #987 (@dstepanov)
- Add
updateAll
CRUD method #986 (@dstepanov) - Correct delete method for optimistic locking #985 (@dstepanov)
- Correct
deleteBy
associated relationship id #984 (@dstepanov) - R2dbc Data integration #974 (@dstepanov)
- [data] Update common files for branch master #970 (@micronaut-build)
- Correct async interceptors #968 (@dstepanov)
- Optimistic locking JDBC #967 (@dstepanov)
- Support save/update/delete batches + refactoring of match finders #961 (@dstepanov)
- build(deps): bump DeLaGuardo/setup-graalvm from 3.1 to 4.0 #959 (@dependabot[bot])
- [data] Update common files for branch master #958 (@micronaut-build)
- Support @Join on repositories, scenarios with composite keys #954 (@dstepanov)
- Skip Hibernate events for not-introspected entities #953 (@dstepanov)
- Support immutable entities #952 (@dstepanov)
- More tests for #669 #948 (@dstepanov)
- More tests for #821 #947 (@dstepanov)
- Correct projections validation + support Hibernate 'select new' syntax #946 (@dstepanov)
- Basic support for composite identity to support @IdClass in Jpa repositories #945 (@dstepanov)
- Correct join path and cascade for many-to-one relations #944 (@dstepanov)
- Correct @Join and @entitygraph for JPA #941 (@dstepanov)
- Improve "@jointable" "@JoinColumns" support #940 (@dstepanov)
- Update to Core 2.4 #937 (@dstepanov)
- Fix naming strategy for embedded + correct update sql #936 (@dstepanov)
- Support more complex mapping #930 (@dstepanov)