micronaut-data

Ahead of Time Data Repositories

APACHE-2.0 License

Stars
457

Bot releases are visible (Hide)

micronaut-data - Micronaut Data 3.2.0

Published by micronaut-build almost 3 years ago

v3.2.0 (2021-11-19)

Full Changelog

Fixed bugs:

  • Fix "Cannot decode value of type java.lang.String with OID 2950" #1218 (@zsiegel)

Closed issues:

  • Generate Nullable relation to manage Zero-To-One relation #1213

Merged pull requests:

  • Expandable parameters in queries #1219 (@dstepanov)
  • Fix GraalVM warnings regarding Oracle converters #1215 (@ilopmar)
  • Criteria API #1198 (@dstepanov)
micronaut-data - Micronaut Data 3.1.2

Published by micronaut-build almost 3 years ago

v3.1.2 (2021-11-02)

Full Changelog

Closed issues:

  • ORDER-BY with joined properties #1209
  • Micronaut-jpa cascade won't set parent id for child entity #1208
  • micronaut-data jdbc throws an exception when @Version is used in a Record #1207

Merged pull requests:

  • Fix JPA order by #1211 (@dstepanov)
  • Disable autoApply Converter check #1203 (@dstepanov)
micronaut-data - Micronaut Data 3.1.1

Published by micronaut-build about 3 years ago

v3.1.1 (2021-10-19)

Full Changelog

Fixed bugs:

  • Cannot use optimistic locking with Records #1197
  • Conversion from java.sql.Date to java.time.LocalDate no longer works in 3.1.0 #1195

Closed issues:

  • Create-drop schema does not work with Oracle #1130
  • HeuristicCompletionException.Status is package-private not public #1103
  • There is no way to create a DTO projection for a relation #1010

Merged pull requests:

  • Fix DTO values conversions #1201 (@dstepanov)
  • Fix version populating for immutable beans #1199 (@dstepanov)
  • FIX: Made Status enum inside HeuristicCompletionException to let user… #1193 (@utsav0209)
  • [data] Update common files for branch master #1192 (@micronaut-build)
micronaut-data - Micronaut Data 3.1.0

Published by micronaut-build about 3 years ago

v3.1.0 (2021-10-01)

Full Changelog

Implemented enhancements:

  • Support for Kotlin Coroutines #304
  • Support for javax.persistence.AttributeConverter #59

Fixed bugs:

  • Missing io.r2dbc dependencies in BOM with 3.0.2-SNAPSHOT #1174
  • TypeConverter don't make the conversion in update (using query method pattern) in JDBC #529

Closed issues:

  • Leaking dependency of micronaut-data-tx to mictonaut-test #1187
  • support creation of schema DDL script from application configuration #1175
  • Cannot use @EntityGraph annotation to handle multiple nested properties of the same association with Hibernate-JPA #1160
  • In JDBC one-to-many relations, with inmutable objects, get same object representation when you save or find #1124
  • Micronaut Data leaks RxJava2 to consumers #1121
  • Why do you have to open transactions when using jooq in micronaut, even if it is a simple select #1034
  • [Bug] Can't use micronaut-data-jdbc with @PostConstruct and eagerInitSingletons #973
  • Support Kotlin Data Classes for Json fields #872
  • Micronaut data overrides existing TypeConverter #677
  • TypeConverter of a List is not being used when inserting #410

Merged pull requests:

  • Persist new entities for UPDATE cascade of one to many relationships #1190 (@dstepanov)
  • Bump micronaut-gradle-plugins from 4.1.1 to 4.1.5 #1188 (@pgressa)
  • Enable build scans #1185 (@melix)
  • R2DBC Arabba-SR11 #1180 (@dstepanov)
  • Add link for CLA agreement #1179 (@ashishkujoy)
  • Documentation improvements #1177 (@dstepanov)
  • [data] Update common files for branch master #1176 (@micronaut-build)
  • Add localtime converters #1170 (@dstepanov)
  • JPA Specifications repository support #1169 (@dstepanov)
  • Support Kotlin coroutines #1165 (@dstepanov)
  • Add eager startup test for #973 #1164 (@dstepanov)
  • Refactoring of AbstractSqlRepositoryOperations #1163 (@dstepanov)
  • [data] Update common files for branch master #1162 (@micronaut-build)
  • Fix EntityGraph generation from attributeNames and named entity graph #1161 (@mstein)
  • build(deps): bump logback-classic from 1.2.3 to 1.2.6 #1158 (@dependabot[bot])
  • Remove implementation dependency on RxJava2 #1157 (@dstepanov)
  • Correct reactive batch optimistic locking #1156 (@dstepanov)
  • Deadlock workaround #1155 (@dstepanov)
  • build(deps): bump micronaut-gradle-plugins from 4.0.0.RC5 to 4.1.1 #1153 (@dependabot[bot])
  • Mapped property converters + Data only converters #1151 (@dstepanov)
  • Use Reactor instead of RxJava2 #1148 (@dstepanov)
  • Update jdbcRepositories.adoc #1147 (@darkius)
  • R2DBC 0.9.0.M2 #1140 (@dstepanov)
  • Fix GraalVM warning #1114 (@ilopmar)
micronaut-data - Micronaut Data 3.0.1

Published by micronaut-build about 3 years ago

v3.0.1 (2021-09-02)

Full Changelog

Fixed bugs:

  • Transient annotation not supported for Java Records #1112

Closed issues:

  • DefaultR2dbcRepositoryOperations context handle wrong #1142
  • Native query results from Hibernate are binding as null to dto fields #1138
  • @where on supper class not working with micronaut-data-jdbc:3.0.0 #1136
  • [bug] RepositoryTypeElementVisitor can not add custom MethodCandidate #1134
  • @Version does not work on Temporal field without timezone information #1133
  • Native query parameters not bound in Hibernate after first list parameter #1131
  • Ambiguous documentation for optimistic locking #1125
  • New Micronaut 3.0.0 io.micronaut.core.annotation.Nullable doesn't work with Lombok #1123
  • Upgrade Micronaut Data to Micronaut 3.0.0 #1122
  • Composite primary key not working on 3.0.0 #1120
  • Native queries produce Unknown entity: java.lang.Long exception on List\<Long\> return type #1119
  • Optimistic locking is broken: using updateAll incorrectly binds version parameter #1113
  • Groovy JdbcRepository interface that extends another fails to run #1110

Merged pull requests:

  • Add a test with a use-case of transient property in a record #1146 (@dstepanov)
  • Fix hibernate native query that return non-entity #1145 (@dstepanov)
  • Correct batch update with optimistic locking #1144 (@dstepanov)
  • Fix: native query binding nulls to the dto fields #1143 (@suryamegham1729)
  • Correct temporal version conversion #1141 (@dstepanov)
  • Small fixes #1139 (@dstepanov)
  • Upgrade to Micronaut 3.0 & JDK 16 #1135 (@dstepanov)
  • Fix: native query parameters are not bound after the first list parameter with hibernate-jpa #1132 (@lgathy)
micronaut-data - Micronaut Data 3.0.0

Published by micronaut-build about 3 years ago

v3.0.0 (2021-08-11)

Full Changelog

Closed issues:

  • ArrayIndexOutOfBoundsException when using IN() in combination with Pageable and an additional clause #1118

Merged pull requests:

  • New issue templates #1111 (@micronaut-build)

* This Changelog was automatically generated by github_changelog_generator

micronaut-data - Micronaut Data 3.0.0 RC1

Published by micronaut-build about 3 years ago

3.0.0-RC1 (2021-07-27)

Full Changelog

Closed issues:

  • Position on extensions to data-processor via ServiceLoaders #1107
  • MND JDBC should generate indices from @Table annotation #938

Merged pull requests:

  • Upgrade to Micronaut 3.0 M5 #1106 (@dstepanov)
  • Micronaut 3 #1097 (@dstepanov)
micronaut-data - Micronaut Data 2.5.0

Published by micronaut-build about 3 years ago

v2.5.0 (2021-07-26)

Full Changelog

Closed issues:

  • Different behavior in update and updateAll #1094
  • data-jdbc cannot read an entity with JSON fields when using lombok builder #1090
  • Micronaut Data JDBC doesn't update children when the parent is updated in a One To Many bidirectional relation #1089
  • Automatic ID values not generated/retrieved with latest snapshots #1088
  • ReactiveCrudRepo.saveAll doesnt emit when MappedEntity doesn't use a db generate Id #1087
  • Groovy application fails when there is an intermediate repository interface #1075
  • micronaut-data-jdbc returning ill-behaved java.util.stream.Stream #1068
  • Cannot unmarshal jsonb into an embedded list. #1064
  • Support for Jakarta Persistence Annotation #1033

Merged pull requests:

  • Support Jakarta annotations #1100 (@dstepanov)
  • Skip validation when the generic type is an object type #1099 (@dstepanov)
  • Correct UPDATE cascade #1098 (@dstepanov)
  • Correct updateAll for Hibernate #1096 (@dstepanov)
  • Enable Postgres R2dbc tests #1095 (@dstepanov)
  • [data] Update common files for branch master #1093 (@micronaut-build)
  • Correct how Streams in repositories can be used + cleanup examples #1092 (@dstepanov)
  • Always call "getRowsUpdated" which is needed by some drivers #1091 (@dstepanov)
  • Correct compile problems with v3 #1086 (@dstepanov)
  • 938 - Generate indexes specified in table annotation #1084 (@Deviad)
  • [data] Update common files for branch master #1082 (@micronaut-build)
micronaut-data - Micronaut Data 2.4.7

Published by micronaut-build over 3 years ago

v2.4.7 (2021-07-08)

Full Changelog

Fixed bugs:

  • R2DBC with Postgres: Unable to handle many connections and warning when inserting data #1060

Closed issues:

  • r2dbc @Transactional causes Connection pool request timeout #1019

Merged pull requests:

  • allow access to app ctx from RepositoryOperations #1079 (@graemerocher)
  • R2DBC improvements #1076 (@dstepanov)
micronaut-data - Micronaut Data 2.4.6

Published by micronaut-build over 3 years ago

v2.4.6 (2021-07-04)

Full Changelog

Closed issues:

  • Micronaut Data JDBC problem with bidirectional ONE_TO_MANY relation, doesn't initialize parent reference in all children #1054

Merged pull requests:

  • [data] Update common files for branch master #1073 (@micronaut-build)
  • Correct OneToMany relationship for immutable data classes #1072 (@dstepanov)
  • Make certain annotations inherited in prep for Micronaut 3.0 #1071 (@graemerocher)

* This Changelog was automatically generated by github_changelog_generator

micronaut-data - Micronaut Data 2.4.5

Published by micronaut-build over 3 years ago

v2.4.5 (2021-07-02)

Full Changelog

Closed issues:

  • I want to print all request paths, post request parameters, etc. in micronuat, but when I use a filter to implement it, getBody always outputs empty. Is there any other way to achieve this function? #1066
  • data-jdbc cannot read an entity with JSON fields when using constructor arguments #1058
  • Error with one-to-many findById with embeddedId and empty left join fetch #1050
  • Support JPA's getReference() or Hibernate's load() in repository #893
  • Consider failing compilation when a private method is annotate with @Transactional #882

Merged pull requests:

  • Port transaction mode handline from spring support #1070 (@graemerocher)
  • Add .load(id) method to JpaRepository #1069 (@mitchjust-finocomp)
  • [data] Update common files for branch master #1059 (@micronaut-build)
  • Fix to allow reading entities with JSON fields using constructor arguments #1057 (@safarmer)
  • [data] Update common files for branch master #1052 (@micronaut-build)
  • Return null rather than fail for embeddedid or embeddable entities, fixes 1050 #1051 (@nhoughto)

* This Changelog was automatically generated by github_changelog_generator

micronaut-data - Micronaut Data 2.4.4

Published by micronaut-build over 3 years ago

v2.4.4 (2021-06-09)

Full Changelog

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 - Micronaut Data 2.4.3

Published by micronaut-build over 3 years ago

v2.4.3 (2021-05-17)

Full Changelog

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 - Micronaut Data 2.4.2

Published by micronaut-build over 3 years ago

v2.4.2 (2021-05-04)

Full Changelog

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 - Micronaut Data 2.4.1

Published by micronaut-build over 3 years ago

v2.4.1 (2021-04-23)

Full Changelog

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 - Micronaut Data 2.4.0

Published by micronaut-build over 3 years ago

v2.4.0 (2021-04-21)

Full Changelog

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 - Micronaut Data 2.3.1

Published by micronaut-build over 3 years ago

v2.3.1 (2021-03-08)

Full Changelog

Merged pull requests:

  • Fix setting children entities for immutable collections #935 (@dstepanov)
micronaut-data - Micronaut Data 2.3.0

Published by micronaut-build over 3 years ago

v2.3.0 (2021-03-04)

Full Changelog

Implemented enhancements:

  • Reactive sql support via r2dbc #416
  • How to implement @PostLoad using data-jdbc ? #412

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 - Micronaut Data 2.2.4

Published by micronaut-build over 3 years ago

v2.2.4 (2021-01-22)

Full Changelog

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 - Micronaut Data 2.2.3

Published by micronaut-build almost 4 years ago

v2.2.3 (2021-01-07)

Full Changelog

Merged pull requests:

  • Fix in queries with R2DBC #871 (@graemerocher)

* This Changelog was automatically generated by github_changelog_generator