final OBCriteria<Language> languageCriteria = OBDal.getInstance()
.createCriteria(Language.class);
final List<Language> languages = languageCriteria.list();
int created = 0;
for (final Language l : languages) {
final CountryTrl countryTrl = OBProvider.getInstance().get(CountryTrl.class);
countryTrl.setCountry(country);
countryTrl.setLanguage(l);
countryTrl.setDescription(country.getDescription());
countryTrl.setName(country.getName());
countryTrl.setRegionName(country.getRegionName());
countryTrl.setAddressPrintFormat("test");
countryTrl.setActive(true);
// countryTrl.setDescription(getName())isplaySequence(country.getDisplaySequence());
OBDal.getInstance().save(countryTrl);
created++;
}
log.debug("Created " + created + " countrytrl objects");