@Repository public class JpaAddressRepository extends Object implements AddressRepository
| Constructor and Description |
|---|
JpaAddressRepository() |
| Modifier and Type | Method and Description |
|---|---|
Address |
getById(Long id)
Returns the Address for the given id
|
public JpaAddressRepository()
@Transactional(value="defaultTransactionManager") public Address getById(Long id)
AddressRepositorygetById in interface AddressRepositoryid - id the id of the AddressCopyright © 2018. All rights reserved.