Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionUse
RelationshipMapperinstead.Some utility methods.
The populate specification.The relationship. It uses the query results and information provided through the API to populate the target property.Does not access database or use SimpleJdbcMapper. It just assembles the relationship tree.
For more details see the documentation
As of release 2.4.0, Replaced byRelationship.type(java.lang.Class<?>)Starts the relationship processing flow.A relationship specification.Specification for the ToMany relationshipSpecification for the ToOne relationship
-
Deprecated InterfacesInterfaceDescriptionThe populate specification.A relationship specification.Specification for the ToMany relationshipSpecification for the ToOne relationship
-
Deprecated ClassesClassDescriptionUse
RelationshipMapperinstead.Some utility methods.
The relationship. It uses the query results and information provided through the API to populate the target property.Does not access database or use SimpleJdbcMapper. It just assembles the relationship tree.
For more details see the documentation
-
Deprecated MethodsMethodDescriptionAs of release 2.3.0, Will be removed in a future major release. If you need it please go ahead and make a copy of it.
Splits the list into multiple lists by chunk size. Can be used to split the sql IN clauses since some databases have a limitation on 'IN' clause entries and size
As of release 2.3.0, Replaced byRelationship.toManyAssigns the 'hasMany' property of the main object with the list of related objects that match 'mainObjJoinPropertyNameTheId' and 'relatedObjJoinPropertyNameTheForeignKey'.
Example use case could be: 1) Query to get a list of employees 2) Query the skills of these employees. (Could use
SimpleJdbcMapper.findByPropertyValues(java.lang.Class<T>, java.lang.String, java.util.Collection<U>, io.github.simplejdbcmapper.core.SortBy...)for this) 3) Use populateHasMany() to populate the employee.skills propertyAs of release 2.3.0, Replaced byRelationship.toOneAssigns the 'hasOne' property of the main object with the related object that matches 'relatedObjJoinPropertyNameTheId' and 'mainObjJoinPropertyNameTheForeignKey'.
Example use case: 1) Query for a list of employees 2) Query the departments for these employees. (Could use
SimpleJdbcMapper.findByPropertyValues(java.lang.Class<T>, java.lang.String, java.util.Collection<U>, io.github.simplejdbcmapper.core.SortBy...)for this) 3) Use populateHasOne() to populate the employee.department propertyAs of release 2.4.0, Replaced byRelationship.type(java.lang.Class<?>)Starts the relationship processing flow.