A {@link TxSimple} cannot be used here, because of the iteration.
163164165166167168169170
fUnknownBaseText.add(aBaseText); } } private static synchronized void storeUnknownsInTable() throws DAOException { UnknownBaseTextDAO dao = new UnknownBaseTextDAO(); dao.addAll(fUnknownBaseText); }
168169170171172173174175
UnknownBaseTextDAO dao = new UnknownBaseTextDAO(); dao.addAll(fUnknownBaseText); } private static synchronized int numPersistedUnknownEntries() throws DAOException { UnknownBaseTextDAO dao = new UnknownBaseTextDAO(); return dao.count().intValue(); }