You need a table with key / value columns, and if you store several cards, an identification column (or a foreign key for another table that stores data from which hashmap is a member).
JDBC ( myhashmap (id, foreign_id, key, val) (?,?,?,?)) ONCE, hashmap, .
(, - , ).
String → Object, . I.e., "". , "rank" .