corda / net.corda.node.utilities / AbstractJDBCHashSet / addElementToInsert

# addElementToInsert

`protected abstract fun addElementToInsert(insert: InsertStatement, entry: K, finalizables: MutableList<() -> Unit>): Unit`

Implementation should marshall the element to the insert statement.

If some cleanup is required after the insert statement is executed, such as closing a Blob, then add a closure to the finalizables to do so.

See example implementations in JDBCHashSet.