int characterId = rs.getInt("character_id");
CharacterEntity character = (CharacterEntity)allCharacters.get (new Integer (characterId));
character.readings.set (
rs.getString("source_language_code"),
new Integer (rs.getInt("reading_index")),
new Reading (
rs.getString("source_reading"),
rs.getString("jp_reading_type")
)
);
}
// character_reading_meanings
rs = statement.executeQuery ("SELECT * FROM character_reading_meanings");
while (rs.next()) {
int characterId = rs.getInt("character_id");
CharacterEntity character = (CharacterEntity)allCharacters.get (new Integer (characterId));
Reading reading = character.readings.get (rs.getString("source_language_code"), new Integer (rs.getInt("reading_index")));
reading.meanings.set (
rs.getString("dest_language_code"),
new Reading.Meaning (
rs.getString("dest_reading_meaning")
)