45 |
|
|
46 |
// Cache String instanserne for distributor for at mindske hukommelses forbruget |
// Cache String instanserne for distributor for at mindske hukommelses forbruget |
47 |
// (De-dubblicate) |
// (De-dubblicate) |
48 |
String dbDistributor = res.getString(2); |
String dbDistributor = res.getString(9); |
49 |
String distributor = distributorer.getInstance(dbDistributor); |
String distributor = distributorer.getInstance(dbDistributor); |
50 |
|
|
51 |
Address a = new Address(); |
Address a = new Address(); |
132 |
|
|
133 |
Map<Integer,HundredePctBean> map = new HashMap<Integer,HundredePctBean>(); |
Map<Integer,HundredePctBean> map = new HashMap<Integer,HundredePctBean>(); |
134 |
|
|
135 |
|
DeduplicateHelper<String> distributorer = new DeduplicateHelper<String>(); |
136 |
|
|
137 |
while (res.next()) { |
while (res.next()) { |
138 |
|
|
139 |
|
String dbDistributor = res.getString(2); |
140 |
|
String distributor = distributorer.getInstance(dbDistributor); |
141 |
|
|
142 |
HundredePctBean bean = new HundredePctBean(); |
HundredePctBean bean = new HundredePctBean(); |
143 |
bean.postnr = res.getInt(1); |
bean.postnr = res.getInt(1); |
144 |
bean.distributor = res.getString(2); |
bean.distributor = distributor; |
145 |
bean.rute = res.getString(3); |
bean.rute = res.getString(3); |
146 |
bean.koreliste = res.getString(4); |
bean.koreliste = res.getString(4); |
147 |
bean.dbkBane = res.getInt(5); |
bean.dbkBane = res.getInt(5); |