Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println("hikariCP initializing...");
- HikariConfig config = new HikariConfig();
- config.setJdbcUrl("jdbc:postgresql://xxx.us-west-2.rds.amazonaws.com:5432/" +
- "epf_db?useUnicode=yes&characterEncoding=utf-8");
- config.setUsername("user_ro");
- config.setPassword("XXXXXXPWDXXXXXX");
- config.setInitializationFailFast(true);
- config.setMaximumPoolSize(20);
- config.setConnectionTestQuery("SELECT 1");
- HikariDataSource ds = new HikariDataSource(config);
- System.out.println("hikariCP initialized");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement