org.springframework.data.jdbc.query
Interface SqlInsertWithKeyCallback<K>
public interface SqlInsertWithKeyCallback<K>
An interface used by QueryDslJdbcTemplate for insert calls
where you are able to provide a SQLInsertClause
implementation to handle the insert logic and generated key
retrieval logic.
- Since:
- 1.0
- Author:
- Thomas Risberg
- See Also:
QueryDslJdbcTemplate,
SQLInsertClause
doInSqlInsertWithKeyClause
K doInSqlInsertWithKeyClause(com.mysema.query.sql.dml.SQLInsertClause insert)
throws SQLException
- Throws:
SQLException