Skip to content

Releases: micronaut-projects/micronaut-data

Micronaut Data 2.3.0

04 Mar 07:29
Compare
Choose a tag to compare

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:

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data 2.2.4

22 Jan 12:54
Compare
Choose a tag to compare

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:

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data 2.2.3

08 Jan 08:06
Compare
Choose a tag to compare

v2.2.3 (2021-01-07)

Full Changelog

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data 2.2.2

05 Jan 16:26
Compare
Choose a tag to compare

v2.2.2 (2021-01-05)

Full Changelog

Closed issues:

  • [micronaut-data-tx] consider merge io.micronaut.transaction.test.DefaultTestTransactionExecutionListener and io.micronaut.test.transaction.TestTransactionInterceptorListener #862

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data 2.2.1

02 Dec 16:47
Compare
Choose a tag to compare

v2.2.1 (2020-12-02)

Full Changelog

Implemented enhancements:

  • Add JSON Column Support For Oracle #712

Fixed bugs:

  • [micronaut-data-tx] Injecting connection error when using 2 named datasources #822
  • SQL Query fails with no space in between CAST and named parameter #820

Closed issues:

  • Data JDBC don't handle UUID stored as BINARY(16) in MySQL #832
  • SQL Syntax Error at (:foo) #823
  • Add Oracle Tests #711

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data v2.2.0

11 Nov 15:17
Compare
Choose a tag to compare

v2.2.0 (2020-11-10)

Full Changelog

Closed issues:

  • Placeholder in @where annotation can not be resolved #790

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data 2.1.1

02 Nov 12:47
Compare
Choose a tag to compare

v2.1.1 (2020-10-24)

Full Changelog

Fixed bugs:

  • aggregate SELECT query throws error when reactive Maybe is used as result and there is no result #503
  • @entitygraph not picked up if neither attributePaths is set nor @QueryHint isn't present as well #406

Closed issues:

  • List params are not expanded in native queries #496
  • Enable Tests for H2 JSON support #450
  • Support escaping variable names #423

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data 2.1.0

20 Oct 16:29
Compare
Choose a tag to compare

v2.1.0 (2020-10-20)

Full Changelog

Fixed bugs:

  • NullPointerException thrown when native query returns 1 row, 1 column and the value is null #769
  • In @MappedEntity default value of property 'escape' is false, but behaviour is same as if value is true #761
  • Issue with postgres nested mapping #758
  • Using JdbcOperations with two Datasources does not work #686
  • Explicit queries with simple type result failing with exception #653
  • Cannot save classes that inherit from another with ids generic types #474
  • [Embedded key] Can't infer the SQL type to use for an instance of example.domain.Pet #297
  • Problem with embedded key as inner class #295

Closed issues:

  • CRUD JdbcRepository unable to delete entity having a UUID as primary key (Mysql/MariaDB) #762
  • Unable to build using GraalVM native-image tool using spring jdbc and micronaut #715
  • Adding new fields on DTO #701
  • Default conversion of LocalDate to Date uses wrong timezone #687
  • Multiple EventListener on Bean created instantiates Beans differently #667
  • javax.transaction.Transactional does nothing when using Spring Jdbc Template for database operations #651
  • Error instantiating bean of type [com.whatever.service.user.UserService]\n\nMessage: Error loading bean [io.micronaut.configuration.hibernate.jpa.TransactionalSession$Intercepted] #650
  • micronaut-data-spring brings hibernate, spring-data-commons dependencies #627
  • Spring transaction does not work with Micronaut-Data with Spring Boot 2.3.1.RELEASE #602
  • Nondeterministic exception when injecting named DataSource #598
  • OR and AND in a query #507
  • Default method parameters on Micronaut Data interface are not validated #388
  • Doc Suggestion: @transactional does not do anything outside of a bean #374

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data 2.0.1

13 Oct 15:07
Compare
Choose a tag to compare

v2.0.1 (2020-10-05)

Full Changelog

Fixed bugs:

  • data-jdbc - Fail to create table with UUID as pk in H2 #740
  • SQL Wraps JSON in Quotes for Postgres JSON/JSONB Column types - Breaks Postgres Json Features. #672

Closed issues:

  • Loss of precision of timestamp read from database #746
  • Oracle DB CREATE_DROP does not successfully drop tables #713
  • Point Micronaut Data release history to Github Releases #705
  • COUNT query using INNER JOIN for join type LEFT_FETCH #673

Merged pull requests:

  • Fix count query of pageable methods with joins #757 (@angelyan)
  • Added link to github releases #756 (@rohitkg98)
  • Fix writing of json column for field of type String in postgres #752 (@angelyan)
  • Fix schema generation for UUID generated value in H2 #751 (@angelyan)
  • Fix drop table statement in schema generation #750 (@angelyan)
  • Fix loss of precision of timestamp read from database #743 (@angelyan)

* This Changelog was automatically generated by github_changelog_generator

Micronaut Data 2.0.0

24 Sep 15:28
Compare
Choose a tag to compare

v2.0.0 (2020-09-24)

Full Changelog

Main changes

  • Upgrade to Micronaut 2

Closed Issues

  • Support for FOR UPDATE clause with find...ForUpdate methods #736
  • Implement, please, NOT abstract FooRepositoryImpl support #714
  • Loss of precision when using java.time.Instant in mapped entities #676
  • Detect at compile time if the ID is not settable #554
  • InstantiationException when using the BeanIntrospectionModule #518

Merged pull requests: