You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package com.gcc.erppostdata.mudhalvarpadaipagam;
import org.springframework.beans.factory.annotation.Autowired;import org.springframework.beans.factory.annotation.Qualifier;import org.springframework.jdbc.core.JdbcTemplate;import org.springframework.stereotype.Component;
import javax.sql.DataSource;
@Componentpublic class MPPostData {
@Autowired private JdbcTemplate jdbcTemplate;
@Autowired public void setDataSource (@Qualifier("mysqlmudhalvarpadaipagamDataSource") DataSource dataSource){ this.jdbcTemplate = new JdbcTemplate(dataSource); }
}
|