Class AnnotationMapper

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

public class AnnotationMapper extends Object implements Mapper<Object>
Creates the mapping via @Column annotated fields in the object. Field names don't have to match those in the RelationalPath.
Author:
tiwe
  • Field Details

  • Constructor Details

    • AnnotationMapper

      public AnnotationMapper()
    • AnnotationMapper

      public AnnotationMapper(boolean withNullBindings)
  • Method Details

    • createMap

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