Class InsertLocationRequest
java.lang.Object
net.solarnetwork.central.common.dao.jdbc.sql.InsertLocationRequest
- All Implemented Interfaces:
org.springframework.jdbc.core.BatchPreparedStatementSetter,org.springframework.jdbc.core.PreparedStatementCreator,org.springframework.jdbc.core.SqlProvider
public class InsertLocationRequest
extends Object
implements org.springframework.jdbc.core.PreparedStatementCreator, org.springframework.jdbc.core.SqlProvider, org.springframework.jdbc.core.BatchPreparedStatementSetter
Insert a
LocationRequest.-
Constructor Summary
ConstructorsConstructorDescriptionInsertLocationRequest(List<LocationRequest> requests) Constructor.InsertLocationRequest(LocationRequest request) Constructor. -
Method Summary
-
Constructor Details
-
InsertLocationRequest
Constructor.- Parameters:
request- the request
-
InsertLocationRequest
Constructor.- Parameters:
requests- the requests
-
-
Method Details
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSizein interfaceorg.springframework.jdbc.core.BatchPreparedStatementSetter
-
getSql
- Specified by:
getSqlin interfaceorg.springframework.jdbc.core.SqlProvider
-
createPreparedStatement
- Specified by:
createPreparedStatementin interfaceorg.springframework.jdbc.core.PreparedStatementCreator- Throws:
SQLException
-
setValues
- Specified by:
setValuesin interfaceorg.springframework.jdbc.core.BatchPreparedStatementSetter- Throws:
SQLException
-