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:
- id (BIGINT)
- created (TIMESTAMP)
- modified (TIMESTAMP)
- user_id (BIGINT)
- status (CHAR)
- jdata (TEXT)
- loc_id (BIGINT)
- message (TEXT)
- Since:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.jdbc.core.RowMapper<LocationRequest> A default instance. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
A default instance.
-
-
Constructor Details
-
LocationRequestRowMapper
public LocationRequestRowMapper()
-
-
Method Details
-
mapRow
- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<LocationRequest>- Throws:
SQLException
-