@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)
AddressRepository
getById
in interface AddressRepository
id
- id the id of the AddressCopyright © 2018. All rights reserved.