• Dave Syer's avatar
    Add support for HikariDataSource · 50190a4d
    Dave Syer authored
    We still prefer Tomcat if it is available (that can change
    if the community asks loudly enough). Hikari is supported
    via the same spring.datasource.* properties as Tomcat (and
    DBCP), with some modifications:
    
    * The validation and timeout settings are not as fine-grained
    in Hikari, so many of them will simply be ignored. The most
    common options (url, username, password, driverClassName) all
    work as expected.
    
    * The Hikari team recommends using a vendor-specific DataSource
    via spring.datasource.dataSourceClassName and supplying it with
    Properties (spring.datasource.hikari.*).
    
    Hikari prefers the JDBC4 isValid() API (encapsulates vendor-
    specific queries) which is probably a good thing, but we
    haven't provided any explicit support or testing for that yet.
    
    Fixes gh-418
    50190a4d
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...