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

# <init>

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

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

In this subclass, elements are represented by Blobs of Kryo serialized forms of the element objects. If you can extend AbstractJDBCHashSet and implement less Kryo dependent element mappings then that is likely preferrable.