Questions tagged [hikaricp]

HikariCP is a high-performance JDBC connection pool library.

HikariCP is a "zero-overhead" production-ready JDBC connection pool. Hikari (光) is Japanese and means "light" or "ray".

Resources:

Spring prefers HikariCP as a connection pool to production databases:

We prefer HikariCP for its performance and concurrency. If HikariCP is available, we always choose it.

1370 questions
0
votes
0 answers

Spring boot, can't get Hibernate to work

I am trying to get spring boot 1.5.7 to work with Hibernate with Hikari CP. I am getting this in the logs: 0-Apr-2018 14:07:59.544 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed…
mmaceachran
  • 3,178
  • 7
  • 53
  • 102
0
votes
1 answer

HiKariCP for Bigquery

I am new to gcloud and trying to leverage bigquery for accessing the data. I am trying to implement a connection pooling mechanism for bigquery and found that Hikari (one of the default datasource provided by spring boot) as a viable option. Could…
vijayakumarpsg587
  • 1,079
  • 3
  • 22
  • 39
0
votes
0 answers

Failed to load class "org.slf4j.impl.StaticLoggerBinder" nothing works

I'm coding at the moment a project for Minecraft but HikariCP doesn't work fully because of the slf4j. Nothing works I'm searching for two hours on the Internet but I don't get it. I have tried almost everything. 25.04 21:35:26 [Server] WARN SLF4J:…
0
votes
0 answers

HikariCP times out when switching from jdk 1.7 to 1.8

In Jenkins switching from env.JAVA_HOME="${tool 'JDK_7u80'}" to javaHome = tool 'JDK_8u74' causes timeout and checkFailFast. I'm using com.zaxxer HikariCP
MtnKat
  • 1
  • 3
0
votes
2 answers

Java JDBC mysql connection pooling

So I am implementing connection pooling, with HikariCP. It seems simple enough, but I have some questions I saw a tutorial and said that the code should look like this: Connection connection = null; try{ connection = hikary.getConnection(); …
centenond
  • 1,170
  • 1
  • 8
  • 23
0
votes
1 answer

Hikari DataSource gives Url null exception

Trying get Hikari Pool : final static String DB_URL = "jdbc:hsqldb:hsql://localhost/dbone"; final static String DRIVER = "org.hsqldb.jdbc.JDBCDriver"; final static String DS_DRIVER = "org.hsqldb.jdbc.JDBCDataSource"; public static HikariConfig…
Mohd
  • 191
  • 3
  • 14
0
votes
1 answer

Hibernate sometimes doesn't extract uuid referenced entity

I have two entities, let's name them University and Student, Student is unidirectional ManyToOne with University they both extends base class BasicUUIDEntity: @MappedSuperclass public class BasicUUIDEntity implements Serializable { protected…
Dmytro Grynets
  • 923
  • 11
  • 29
0
votes
1 answer

Error with Spring5+hibernate+jpa+hikaricp xml configuration

Please help. The below is my XML configuration file. My application runs properly. But it says no database selected when call database. The exception looks like below: 2018-03-24 13:44:17 DEBUG SqlExceptionHelper:139 - could not extract ResultSet…
0
votes
1 answer

Spring Boot 2 + HikariCP - ERROR: the object creation scheme is not indicated

I've updated Spring Boot from version 1.5.6 to version 2.0.0. I can not add an array to the database from the schema file and class with the @Entity annotation do not automatically create this one. My file appliaction.properties spring: …
JONKI
  • 535
  • 5
  • 10
  • 24
0
votes
1 answer

Conflict between Hikari, Quill, and Postgres in the conf file for Play 2.6

I'm getting what seems to be a strange error when I run my Play app (which seems to be the story of my life right now). The other day, I ran into this issue, solved that, was able to run the evolutions and create the tables, and then ran into the…
jmkoni
  • 463
  • 4
  • 14
0
votes
1 answer

Change HikariCP Logging file

I am currently using Sl4j 1.7.25 with logback-classic-1.2.3 The logback.xml put inside the class path of the tomcat i.e WEB-INF/classes is as follows:
Kushan
  • 5,855
  • 3
  • 31
  • 45
0
votes
1 answer

HikariDataSource. Improve performance

I created a second DataSource in my application. I created it with HikariDataSource, since I had problems because it was disconnected. Now it does not disconnect, but it is very slow My configuration is the following: type:…
Jose
  • 1,779
  • 4
  • 26
  • 50
0
votes
1 answer

Kotlin: exception with missing driver when running jar

I am trying to connect kotlin app based on gradle to mssql database (via modules hikari & hibernate fw). When I run kotlin app in IDE (intellij Idea), everything works fine, but when I compile it via gradlew, it throws exception, that it is missing…
0
votes
1 answer

NPE on connection with postgres and slick

I cannot connect my postgres database (AWS RDS) and I have no idea on how to fix this: Caused by: java.sql.SQLTimeoutException: Timeout after 1001ms of waiting for a connection. at…
ccavalier
  • 1
  • 1
0
votes
1 answer

Adding HikariCP using maven caused ClassNotFoundException error

while starting plugin for spigot server i have error when enabling HikariCP. I have Hikari shaded in my .jar. My pom.xml can be found here https://pastebin.com/3vpEzyig [18:32:48] [Server thread/ERROR]: Error occurred while enabling PvPCraftFactions…
Denyk
  • 99
  • 2
  • 7