>>20
いやこういう糞ソース

A a = new A()
List list = new ArrayList()

for (結果のレコード : dbの検索結果) {
a.set(結果のレコード)
list.add(a)
}