com.r3corda.node.utilities / JDBCHashSet / addElementToInsert

addElementToInsert

protected fun addElementToInsert(it: <ERROR CLASS>, 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.