mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
rename JDBC implementations files
This commit is contained in:
parent
c8f1752786
commit
8c5830c145
4 changed files with 8 additions and 8 deletions
|
@ -18,12 +18,12 @@ import org.springframework.stereotype.Repository;
|
|||
|
||||
@Repository
|
||||
@Qualifier("OwnerRepositoryExt")
|
||||
public class JdbcOwnerRepositoryImplExt extends JdbcOwnerRepositoryImpl implements OwnerRepositoryExt {
|
||||
public class JdbcOwnerRepositoryExtImpl extends JdbcOwnerRepositoryImpl implements OwnerRepositoryExt {
|
||||
|
||||
private NamedParameterJdbcTemplate namedParameterJdbcTemplate;
|
||||
|
||||
@Autowired
|
||||
public JdbcOwnerRepositoryImplExt(DataSource dataSource) {
|
||||
public JdbcOwnerRepositoryExtImpl(DataSource dataSource) {
|
||||
super(dataSource);
|
||||
// TODO super() ?
|
||||
this.namedParameterJdbcTemplate = new NamedParameterJdbcTemplate(dataSource);
|
|
@ -19,12 +19,12 @@ import org.springframework.stereotype.Repository;
|
|||
|
||||
@Repository
|
||||
@Qualifier("PetRepositoryExt")
|
||||
public class JdbcPetRepositoryImplExt extends JdbcPetRepositoryImpl implements PetRepositoryExt {
|
||||
public class JdbcPetRepositoryExtImpl extends JdbcPetRepositoryImpl implements PetRepositoryExt {
|
||||
|
||||
private NamedParameterJdbcTemplate namedParameterJdbcTemplate;
|
||||
|
||||
@Autowired
|
||||
public JdbcPetRepositoryImplExt(DataSource dataSource,
|
||||
public JdbcPetRepositoryExtImpl(DataSource dataSource,
|
||||
@Qualifier("OwnerRepositoryExt") OwnerRepositoryExt ownerRepository,
|
||||
@Qualifier("VisitRepositoryExt") VisitRepositoryExt visitRepository) {
|
||||
super(dataSource, ownerRepository, visitRepository);
|
|
@ -22,7 +22,7 @@ import org.springframework.stereotype.Repository;
|
|||
|
||||
@Repository
|
||||
@Qualifier("VetRepositoryExt")
|
||||
public class JdbcVetRepositoryImplExt extends JdbcVetRepositoryImpl implements VetRepositoryExt {
|
||||
public class JdbcVetRepositoryExtImpl extends JdbcVetRepositoryImpl implements VetRepositoryExt {
|
||||
|
||||
//private JdbcTemplate jdbcTemplate;
|
||||
|
||||
|
@ -31,7 +31,7 @@ public class JdbcVetRepositoryImplExt extends JdbcVetRepositoryImpl implements V
|
|||
private SimpleJdbcInsert insertVet;
|
||||
|
||||
@Autowired
|
||||
public JdbcVetRepositoryImplExt(DataSource dataSource, JdbcTemplate jdbcTemplate) {
|
||||
public JdbcVetRepositoryExtImpl(DataSource dataSource, JdbcTemplate jdbcTemplate) {
|
||||
super(jdbcTemplate);
|
||||
// TODO Auto-generated constructor stub
|
||||
//this.jdbcTemplate = jdbcTemplate;
|
|
@ -19,12 +19,12 @@ import org.springframework.stereotype.Repository;
|
|||
|
||||
@Repository
|
||||
@Qualifier("VisitRepositoryExt")
|
||||
public class JdbcVisitRepositoryImplExt extends JdbcVisitRepositoryImpl implements VisitRepositoryExt {
|
||||
public class JdbcVisitRepositoryExtImpl extends JdbcVisitRepositoryImpl implements VisitRepositoryExt {
|
||||
|
||||
private NamedParameterJdbcTemplate namedParameterJdbcTemplate;
|
||||
|
||||
@Autowired
|
||||
public JdbcVisitRepositoryImplExt(DataSource dataSource) {
|
||||
public JdbcVisitRepositoryExtImpl(DataSource dataSource) {
|
||||
super(dataSource);
|
||||
// TODO Auto-generated constructor stub
|
||||
this.namedParameterJdbcTemplate = new NamedParameterJdbcTemplate(dataSource);
|
Loading…
Reference in a new issue