DATAJDBC-384 - Fixed MyBatisDataAccessStrategy.findAllByPath.
findAllByPath now falls back to the older findAllByProperty for better backward compatibility. Also the path is included in the query name used for MyBatis. Original Pull Request: #157
This commit is contained in:
committed by
Christoph Strobl
parent
3524d7bacf
commit
bd03ef83d6
@@ -517,12 +517,19 @@ Note that the type used for prefixing the statement name is the name of the aggr
|
||||
|
||||
`getDomainType`: The type of the entity to load.
|
||||
|
||||
| `findAllByProperty-<propertyName>` | Select a set of entities that is referenced by another entity. The type of the referencing entity is used for the prefix. The referenced entities type is used as the suffix. | All `find*` methods.|
|
||||
| `findAllByProperty-<propertyName>` | Select a set of entities that is referenced by another entity. The type of the referencing entity is used for the prefix. The referenced entities type is used as the suffix. _This method is deprecated. Use `findAllByPath` instead_ | All `find*` methods. If no query is defined for `findAllByPath`|
|
||||
|
||||
`getId`: The ID of the entity referencing the entities to be loaded.
|
||||
|
||||
`getDomainType`: The type of the entity to load.
|
||||
|
||||
|
||||
| `findAllByPath-<propertyPath>` | Select a set of entities that is referenced by another entity via a property path. | All `find*` methods.|
|
||||
|
||||
`getIdentifier`: The `Identifier` holding the id of the aggregate root plus the keys and list indexes of all path elements.
|
||||
|
||||
`getDomainType`: The type of the entity to load.
|
||||
|
||||
| `count` | Count the number of aggregate root of the type used as prefix | `count` |
|
||||
|
||||
`getDomainType`: The type of aggregate roots to count.
|
||||
|
||||
Reference in New Issue
Block a user