Class DefaultMapper

java.lang.Object
com.querydsl.sql.dml.AbstractMapper<Object>
com.querydsl.sql.dml.DefaultMapper
All Implemented Interfaces:
Mapper<Object>

public class DefaultMapper extends AbstractMapper<Object>
Creates the mapping by inspecting the RelationalPath and Object via reflection. Given bean doesn't need to have @Column metadata, but the fields need to have the same name as in the given relational path.
Author:
tiwe
  • Field Details

  • Constructor Details

    • DefaultMapper

      public DefaultMapper()
    • DefaultMapper

      public DefaultMapper(boolean withNullBindings)
  • Method Details

    • createMap

      public Map<Path<?>,Object> createMap(RelationalPath<?> entity, Object bean)
      Description copied from interface: Mapper
      Create a map of updates for the given path and instance
      Parameters:
      entity - path
      bean - instance
      Returns:
      bindings