@Repository(value="blCountryDao") public class CountryDaoImpl extends Object implements CountryDao
Modifier and Type | Field and Description |
---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
Constructor and Description |
---|
CountryDaoImpl() |
Modifier and Type | Method and Description |
---|---|
List<Country> |
findCountries() |
Country |
findCountryByAbbreviation(String abbreviation) |
Country |
save(Country country) |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public Country findCountryByAbbreviation(String abbreviation)
findCountryByAbbreviation
in interface CountryDao
public List<Country> findCountries()
findCountries
in interface CountryDao
public Country save(Country country)
save
in interface CountryDao
Copyright © 2013. All rights reserved.