net.corda.node.utilities / AbstractJDBCHashMap / addValueToInsert

# addValueToInsert

`protected abstract fun addValueToInsert(insert: <ERROR CLASS>, entry: Entry<K, V>, finalizables: MutableList<() -> Unit>): Unit`

Implementation should marshall the value 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 JDBCHashMap.