Şu satırı dahil ederiz
import com.zaxxer.hikari.util.DriverDataSource;
constructor - jdbcUrl + driverClassName + properties + username + password
Örnek
Şöyle yaparız
@Bean public DataSource dataSource() { return new DriverDataSource("jdbc:mysql://127.0.0.1:5701", "com.hazelcast.datastore.JdbcDataStoreFactory", new Properties(), "", ""); }
Hiç yorum yok:
Yorum Gönder