GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Ohne Titel

Samir Hasanov Englisch 1 Karte

Karten in diesem Stapel (1)

  1. 1Datasource config@Lazy
    @Bean
    public DataSource dataSource() {
    try {
    HikariConfig hikariConfig = new HikariConfig();
    hikariConfig.setDriverClassName("org.postgresql.Driver");
    hikariConfig.setJdbcUrl(environment.getProperty("database.postgresql.url"));
    hikariConfig.setUsername(environment.getProperty("database.postgresql.username"));
    hikariConfig.setPassword(environment.getProperty("database.postgresql.password"));
    // Connection pool specific configuration
    hikariConfig.setMaximumPoolSize(10);
    hikariConfig.setConnectionTestQuery("select 1");
    hikariConfig.setPoolName("springHikariCP");
    hikariConfig.addDataSourceProperty("dataSource.cachePrepStmts", "true");
    hikariConfig.addDataSourceProperty("dataSource.prepStmtCacheSize", "250");
    hikariConfig.addDataSourceProperty("dataSource.prepStmtCacheSqlLimit", "2048");
    hikariConfig.addDataSourceProperty("dataSource.useServerPrepStmts", "true");
    HikariDataSou

Informationen

Beschreibung
Karteikarten am Ohne Titel, erstellt von Samir Hasanov am 24/12/2017.
Erstellt von
Samir Hasanov
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck