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
1 answer

org.slf4j.ILoggerFactory In GlassFish Server while using Bonecp or hikari cp

I am new to webservices, just I started by writing a simple database function using BoneCP(Connection Pooling) while running the tester wsdl generated by GlassFish Server, I am getting the following exception. Caused by: java.lang.SecurityException:…
RamBen
  • 990
  • 1
  • 9
  • 17
0
votes
2 answers

HikariCP cleanup pool loop on jenkins

Hi stackoverflow community, I have a really annoying issue with my jenkins and hikaricp. To put the issue in perspective: I have a spring boot application which uses the hikariDataSource. It works fine while developing and all test run local without…
conscience
  • 463
  • 6
  • 21
0
votes
0 answers

HikariCP initialization error

I have a web app i am managing, its a spring boot application using HikariCP withe the following config @Bean(name = "DS") public DataSource datasource() throws IOException { final HikariDataSource ds = new HikariDataSource(); …
azdonald
  • 336
  • 1
  • 3
  • 16
0
votes
2 answers

Recovering from broken database connection with hibernate

I am having trouble recovering from a broken database connection. My test case uses the following libraries. guice-persist 4.0 Hibernate core 4.3.1 HikariCP-java6-2.3.9 (connection pool). My test runs a simple read in a loop with a small sleep…
user2046211
  • 356
  • 1
  • 4
  • 20
0
votes
1 answer

Spring Boot JPA and HikariCP maintaining active connections

Brief: Is there a way to ensure that a connection to the database is returned to the pool? Not-brief: Data flow: I have some long running tasks that could be sent to the server in large volume bursts. Each of the requests is recorded in the DB…
Tim Overly
  • 425
  • 4
  • 10
0
votes
1 answer

Why are the insert batch times increasing?

Summary: Inserting 100k rows at a time with 1k batches (yes it's definitely being batched) and time to insert is increasing for each batch. Trying to understand why. Original Question: JProfiler shows a lot of time spent reading an InputStream in…
Justin
  • 6,031
  • 11
  • 48
  • 82
0
votes
1 answer

Calculation mismatch in HikariCP

i'm using hikariCP and i can see in housekeeping that max connections are 10 but there is calculation mismatch as givern below, in pool-2 i can see total 10 but waiting 24, is that a problem ? |DEBUG|Hikari Housekeeping Timer (pool…
Amey Jadiye
  • 3,066
  • 3
  • 25
  • 38
0
votes
1 answer

HikariConfig ClassNotFoundException

I'm trying to use hikari with Eclipse Luna 4.4.2. I added these to my project java build path: HikariCP-java6-2.3.8.jar slf4j-api-1.7.6.jar slf4j-simple-1.7.9.jar My jre is 1.8.0_45 I'm getting ClassNotFoundException on this line: HikariConfig…
Mike Jackson
  • 183
  • 1
  • 12
0
votes
2 answers

Hikari connections and active AS400 jobs

I am using Hikari connection pool manager to query some tables in an AS400 machine. I've set a minimum of 1 connection pool connections and a maximum of 10. I am querying 5 tables at the same time. The problem is that despite using HikariDataSource…
RedEagle
  • 4,418
  • 9
  • 41
  • 64
0
votes
2 answers

Cannot initialise HikariCP pooled connection, Failure in loading native library db2jcct2

I'm trying to use HikariCP together with DB2 but get the following error: Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: db2jcct2 I have db2jcc4.jar file at my class path and only it. And the following hikari…
Anatoly
  • 5,056
  • 9
  • 62
  • 136
0
votes
1 answer

Using Spring Cloud Connectors together with HikariCP

I would like to use HikariCP from the Spring Cloud Connectors. I am not sure how to proceed... I have updated my Spring Cloud Connectors to 1.2.0.RC1. Here is my current config: @Configuration @Profile({ Profiles.CLOUD }) public class…
balteo
  • 23,602
  • 63
  • 219
  • 412
0
votes
1 answer

Play Framework Slick HikariCP Error

I guess I'm hitting into some sort of class in compatibility error when I tried to use Play Framework + Slick + HikariCP: play.api.UnexpectedException: Unexpected exception[UnsupportedClassVersionError: com/zaxxer/hikari/HikariConfig : Unsupported…
joesan
  • 13,963
  • 27
  • 95
  • 232
0
votes
2 answers

How to manage Slick 3.0.0 Database instances in Play Framework

I was wondering how is the right way to manage Slick 3 (3.0.0-RC3 at this moment) database instances in a Play Framework 2.3.x application. According to the upgrade guide, each instance has a connection pool associated. My guess is that I should…
Guillermo Gutiérrez
  • 17,273
  • 17
  • 89
  • 116
0
votes
1 answer

Password Encryption in Hikaricp

I am using HikariCP in a spring project. Right now, I defined a connection like this
Sravan
  • 596
  • 1
  • 9
  • 19
0
votes
1 answer

HikariCP Spring + Hibernate + MySQL : Method not found: setMaxLifetime

I have trouble to set some Hikari properties into my connection. At this point, I don't what I missed.
Sebastien Dionne
  • 757
  • 2
  • 19
  • 34