The Hashmap could be:
HashMap<String,Integer> hm = new HashMap<String, Integer>();
hm.put("col1", 1);
hm.put("col2", 23);
hm.put("col3", 34);
then call the insert someIDhere with the hm as parameter.
insert into table_one (
COLUMN1, COLUMN2, COLUMN3
) values (
#col1#, #col2#, #col3#
);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…