Remove Jetbrains annotation usage.
Simplify code, remove code that is commented out, extract methods, pass PersistentEntity as argument instead of creating instances that hold PersistentEntity as field to align the class lifecycle with its contextual usage.
Refactor AggregateReader lifecycle, use a single instance as there is no entity-specific state attached to AggregateReader.
Add Javadoc.
See #1448
Original pull request: #1622
Simplify ValueFunction mapping. Remove invariants of findBy SQL generation in favor of the Condition-based variant. Reduce visibility. Change return value of AggregateReader to List
See #1601
Original pull request: #1617
Add sophisticated converter to read aggregates from a RowDocument including support for maps, collections, subdocuments, and embeddables considering registered converters.
Use ResultSetRowDocumentExtractor to extract result multi-sets into RowDocument and then later apply object mapping.
Original pull request #1604Closes#1586
Push JDBC-specific simple types into JdbcPostgresDialect instead of having these in the top-level dialect that shouldn't be tied to any driver technology.
Introduce profile to run Postgres tests only.
AggregatePath replaces PersistentPropertyPathExtension.
It gets created and cached by the RelationalMappingContext, which should be more efficient and certainly looks nicer.
Closes#1525
Original pull request #1486
We now support schema creation and schema migration by generating Liquibase changesets from mapped entities. We also support evolution of schema by comparing existing tables with mapped entities to compute differential changesets.
Closes#756
Original pull request: #1520
Operators `awaitFirstXxx` are going to be deprecated. Also, awaitFirst operator has no value on Mono types.
Closes: #1355
Signed-off-by: George Papadopoulos <george.719pap@gmail.com>
Such expressions now get passed on unchanged.
This also deprecates org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(Sort, RelationalPersistentEntity<?>).
It was only used in tests and translates an Order into another Order, which sounds wrong.
Closes#1512
Original pull request: #1513
SqlSort allows the specification of unsafe order-by-expressions.
Order-by-expressions that are not declared unsafe are only accepted when they
either match a property or consist only of digits, letters, underscore, dot, or parentheses.
Closes#1507