Releases: micronaut-projects/micronaut-data
Micronaut Data 2.4.4
v2.4.4 (2021-06-09)
Implemented enhancements:
- Consider the creation of bean to handle AutoPopulated #566
Fixed bugs:
- Related entities with embedded classes cannot be queried with JDBC Repository #704
- Save method that returns void is rejected #614
Closed issues:
- jdbc: update() fails on cascading one-to-one relations #1047
- Build failure on rudimentary example using GraalVM, Kotlin, MariaDB, & micronaut-data #1045
- Database migration not working #1044
- @MappedEntity with @relation annotation generates "No backing RepositoryOperations configured for repository." error #1039
- Repository method
updateRelatedEntity
won't compile #1035 - r2dbc @transactional causes Connection pool request timeout #1019
- Unable to introspect imported (JAR/dependency) classes #596
- Extending Micronat Data Annotation #523
- LastModifiedBy and CreatedBy annotation #506
Merged pull requests:
- Fix inverse one-to-one update cascading (#1047) #1048 (@nhoughto)
- Fix update queries with a relation #1036 (@dstepanov)
- Don't create nested connection for nested transaction #1031 (@dstepanov)
- [data] Update common files for branch master #1024 (@micronaut-build)
* This Changelog was automatically generated by github_changelog_generator
Micronaut Data 2.4.3
v2.4.3 (2021-05-17)
Fixed bugs:
- Custom @query without a root entity / outside a GenericRepository #1014
- Repository method generation regression: 2.4.0 -> 2.5.1 #1009
- after upgrade micronaut 2.4.1 -> 2.5.0 existsBy and findBy produce wrong where clause if another column with name id exist #1008
Closed issues:
- Micronaut Data JDBC generate "After end of result set" in certain scenarios #1016
- org.hibernate.HibernateException: No CurrentSessionContext configured in GraalVM with JPA and H2 #1007
- Data JDBC don't handle UUID stored as BINARY(16) in MySQL #832
Merged pull requests:
- Fix cases with byte array type and IN queries #1026 (@dstepanov)
- Fix invalid cases of Hibernate projections #1025 (@dstepanov)
- Fix custom id queries #1018 (@dstepanov)
- Allow for insert to return rows updated #1017 (@dstepanov)
- fix(empty-associations): use a mutable list instance when a join is null #1015 (@safarmer)
- build(deps): bump jmh-core from 1.25.2 to 1.30 #1013 (@dependabot[bot])
- build(deps): bump objenesis from 3.1 to 3.2 #1012 (@dependabot[bot])
- [data] Update common files for branch master #979 (@micronaut-build)
Micronaut Data 2.4.2
v2.4.2 (2021-05-04)
Fixed bugs:
- Entities without @id not working anymore in data 2.4.X #1001
- Compilation error are no longer caught by data processor #999
Closed issues:
- parallel test execution throws IllegalStateException #792
Merged pull requests:
- Allow limited no-id entity operations #1005 (@dstepanov)
- Joined collection should not be null #1004 (@dstepanov)
- update to gradle 7.0 #1003 (@graemerocher)
- Correct multiple association method query #1002 (@dstepanov)
- Remove left printStackTrace #1000 (@dstepanov)
- Update props after 2.4 realease #994 (@dstepanov)
Micronaut Data 2.4.1
v2.4.1 (2021-04-23)
Fixed bugs:
- Custom inserts with Query annotation not working correctly #997
- Micronaut Data overrides built in enum converter causing failures #995
Merged pull requests:
- Fix custom insert queries #998 (@dstepanov)
- Remove breaking enum converter. Fixes #995 #996 (@graemerocher)
Micronaut Data 2.4.0
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)
Micronaut Data 2.3.1
v2.3.1 (2021-03-08)
Merged pull requests:
- Fix setting children entities for immutable collections #935 (@dstepanov)
Micronaut Data 2.3.0
v2.3.0 (2021-03-04)
Implemented enhancements:
Fixed bugs:
- Query generation not incorporating column transformations in where clause #912
- Regression with Oracle and Micronaut Data loading data: SQL error executing INSERT: operation not allowed: DML Returning cannot be batched #911
- Data annotation process not working with jax-rs processor #899
- Compilation Error when use Generic into update(@id) method #896
- Use @ColumnTransformer in WHERE clause, not just SELECT #880
- Unnecessary setMaxResults(1) degrades query performance #863
- Not possible to change transaction isolation level in Hibernate transactions #858
- [micronaut-data-tx] Inconsistent behavior for
@TransactionAdvice\(value = "a"\)
and@TransactionAdvice\(transactionManager = "a"\)
over 2 datasources #850 - Pageable.unpaged() with added order fails on validation #789
- Impossible to map PostgreSQL table using @MappedEntity, escape = true and NamingStrategies.UpperCase #735
- Postgres @manytoone Update of Null UUID Fails with SQL Error - UUID Treated as BigInt #671
- The @where annotation doesn't work with @Join annotated repository methods #610
- @column(length = ) is ignored when using create-drop #603
Closed issues:
- No bean of type io.micronaut.data.operations.PrimaryRepositoryOperations exists #887
- native image raised error: Could not create DynamicParameterizedType for type: org.hibernate.type.EnumType #873
Merged pull requests:
- Fix compilation errors for generic entities #928 (@dstepanov)
- Improve @ColumnTransformer @where, Added @MappingEntity(alias="") #926 (@dstepanov)
- Fix setting nullable association. Fixes #671 #925 (@dstepanov)
- Correct pageable. Fixes #789 #924 (@dstepanov)
- Support column limits when generating schema. Fixes #603 #923 (@dstepanov)
- Bail out earlier for association reads. Fixes tests #922 (@graemerocher)
- Correct Postgres and joined table escape strategy. Fixes #735 #921 (@dstepanov)
- Fix logic incorrectly returning null #920 (@graemerocher)
- Fix update events / add more tests #919 (@graemerocher)
- Remove
setMaxResults
for JPA. Fixes #863 #917 (@dstepanov) - Fix Oracle DB batch insert / Join fetch Fixes #911 #669 #916 (@dstepanov)
- Correct @TransactionalAdvice, Fixes #850 #913 (@dstepanov)
- Upgrade internal build plugin to 3.0.3 #910 (@ilopmar)
- [data] Update common files for branch master #909 (@micronaut-build)
- Use new Gradle build plugins #907 (@ilopmar)
- Persistence Event support #900 (@graemerocher)
- Clarified the discussion of composite keys #894 (@ZacharyKlein)
- [data] Update common files for branch master #877 (@micronaut-build)
* This Changelog was automatically generated by github_changelog_generator
Micronaut Data 2.2.4
v2.2.4 (2021-01-22)
Closed issues:
- How to use micronaut-data mapper without SQL_Annotations #884
- micronaut-data-bom:2.2.2 on maven central #878
Merged pull requests:
- Fix identity column schema gen in Oracle #886 (@graemerocher)
* This Changelog was automatically generated by github_changelog_generator
Micronaut Data 2.2.3
v2.2.3 (2021-01-07)
Merged pull requests:
- Fix in queries with R2DBC #871 (@graemerocher)
* This Changelog was automatically generated by github_changelog_generator
Micronaut Data 2.2.2
v2.2.2 (2021-01-05)
Closed issues:
- [micronaut-data-tx] consider merge
io.micronaut.transaction.test.DefaultTestTransactionExecutionListener
andio.micronaut.test.transaction.TestTransactionInterceptorListener
#862
Merged pull requests:
- [data] Update common files for branch master #870 (@micronaut-build)
- Disable spring tx management #869 (@graemerocher)
- Better support for Records in JDBC #868 (@graemerocher)
- Support DB arrays for JDBC #856 (@dstepanov)
- Small JavaDoc typo/grammar fix #852 (@igorlev)
- Rework query parameter list expansion #851 (@dstepanov)
- [data] Update common files for branch master #844 (@micronaut-build)
* This Changelog was automatically generated by github_changelog_generator