Class LocationRequestRowMapper

java.lang.Object
net.solarnetwork.central.common.dao.jdbc.LocationRequestRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<LocationRequest>

public class LocationRequestRowMapper extends Object implements org.springframework.jdbc.core.RowMapper<LocationRequest>
Row mapper for LocationRequest entities.

The expected column order in the SQL results is:

  1. id (BIGINT)
  2. created (TIMESTAMP)
  3. modified (TIMESTAMP)
  4. user_id (BIGINT)
  5. status (CHAR)
  6. jdata (TEXT)
  7. loc_id (BIGINT)
  8. message (TEXT)
Since:
1.3
  • Field Details

    • INSTANCE

      public static final org.springframework.jdbc.core.RowMapper<LocationRequest> INSTANCE
      A default instance.
  • Constructor Details

    • LocationRequestRowMapper

      public LocationRequestRowMapper()
  • Method Details