net.corda.node.utilities / JDBCHashMap / <init>

# <init>

`JDBCHashMap(tableName: String, loadOnInit: Boolean = false, maxBuckets: Int = 256)`

A convenient JDBC table backed hash map with iteration order based on insertion order. See AbstractJDBCHashMap for further implementation details.

In this subclass, keys and values are represented by Blobs of Kryo serialized forms of the key and value objects. If you can extend AbstractJDBCHashMap and implement less Kryo dependent key and/or value mappings then that is likely preferrable.