title: Multiple SimpleJDBCCall beans causing Sonar issue in Java
body: <p>My application is springboot and I am having DatabaseConfig where multiple SimpleJDBCCall beans are configured to execute stored proc and am having DAO where am injecting beans using constructor. This is working well, however this is failing on sonar because I have more than 7 beans. We cannot tune Sonar settings as many teams use it. So please suggest here,
  Below is how my DatabaseConfig looks</p>
  <pre><code>@Configuration
  public class DatabaseConfig {
  
  @Autowired
  public JDBCTemplate jdbcT;
  
  @Bean(spOne)
  public SimpleJDBCCall spOne(){
     return new SimpleJDBCCall(jdbcT).withSchema(x).....;
  }
  
  @Bean(spTwo)
  public SimpleJDBCCall spTwo(){
     return new SimpleJDBCCall(jdbcT).withSchema(x).....;
  }
  
  @Bean(spTen)
  public SimpleJDBCCall spTen(){
     return new SimpleJDBCCall(jdbcT).withSchema(x).....;
  }}
  </code></pre>
  <p>Below is how my DAO class looks like</p>
  <pre><code>@Repository
  public class Dao{
  private JDBCTemplate jdbcT;
  private SimpleJDBCCall spOne; private SimpleJDBCCall spTwo; private SimpleJDBCCall spTen;
  
    public Dao(JDBCTemplate jdbcT, SimpleJDBCCall spOne; SimpleJDBCCall spTwo; SimpleJDBCCall spTen){
           this.jdbcT = jdbcT;
           this.spOne = spOne;
           this.spOne = spTwo; // More settings of storedProc beans.
           this.spOne = spTen;
  }}
  </code></pre>