[2.4-Java] Upgrade Play dependency (HikariCP) to newer version

48 views
Skip to first unread message

Johan Dahlberg

unread,
Jul 30, 2015, 9:51:34 AM7/30/15
to play-framework
Hi!

I got a recommendation to upgrade HikariCP to a newer version (2.4.0) because of better logging. Is this possible to do and how should I do it?

/Johan

Mirco Dotta

unread,
Jul 31, 2015, 4:09:14 AM7/31/15
to play-fr...@googlegroups.com
Hi Johan,

It should be enough to add the following in your build’s library dependencies

libraryDependencies += "com.zaxxer" % "HikariCP" % 2.4.0"

Cheers,
Mirco
----------------
Mirco Dotta - @mircodotta

Typesafe – Build reactive apps!

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/0ab28185-0570-4d8a-aea9-76361e56712b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

signature.asc

Mirco Dotta

unread,
Jul 31, 2015, 4:32:29 AM7/31/15
to play-fr...@googlegroups.com
Though, be aware that 2.4.0 is not binary compatible with 2.3.x. Hence, using 2.4.0 in a Play project is most likely a bad idea. See https://github.com/brettwooldridge/HikariCP/issues/360

----------------
Mirco Dotta - @mircodotta

Typesafe – Build reactive apps!

signature.asc

Johan Dahlberg

unread,
Jul 31, 2015, 7:33:41 AM7/31/15
to play-framework, mirco...@typesafe.com
I got the same error as you did in that issue so I won't upgrade.

/Johan
Reply all
Reply to author
Forward
0 new messages