HikariCP 2.2.5 Release Candidate

624 views
Skip to first unread message

Brett Wooldridge

unread,
Nov 8, 2014, 8:53:49 AM11/8/14
to
HikariCP 2.2.5-rc1 has been published to the sonatype staging repository.  Please report any issues to this forum or the github issue tracker.

Changes between 2.2.4 and 2.2.5

 * Fixes for Java 6 compatibility.

 * Implement full transaction state tracking.  This allows HikariCP to bypass
   the automatic rollback when connections are returned to the pool if the
   transaction state is "clean". 

 * Rename MBean closeIdleConnections() to softEvictConnections() and implement
   "evict on return" semantics.

 * Fixed bug in code that sets HikariConfig values from a Properties instance
   that prevented defaults from being read properly.

User feedback regarding Java 6 is especially welcome, as is general pool stability after the implementation of full transaction state tracking.

David Harrigan

unread,
Nov 8, 2014, 3:10:29 PM11/8/14
to hika...@googlegroups.com
Hi Brett!

Just looked at the staging repo here:


and can't see 2.2.5-rc1 - only the SNAPSHOT. Does it take a long time to sync?

Thanks

-=david=-

Brett Wooldridge

unread,
Nov 8, 2014, 8:55:29 PM11/8/14
to hika...@googlegroups.com
First time doing this.  I had to "close" the artifact.  It may be available immediately, or it may take a few hours.

David Harrigan

unread,
Nov 9, 2014, 4:10:20 AM11/9/14
to hika...@googlegroups.com
Hi Brett!

Thanks for the prompt reply :-) I see it's there now! w00t!

-=david=-

Brett Wooldridge

unread,
Nov 10, 2014, 9:50:09 PM11/10/14
to hika...@googlegroups.com
HikariCP 2.2.5-rc2 has been published to the sonatype staging repository.  Please report any issues to this forum or the github issue tracker.

The only change in rc2 is a fix for an AbstractMethodError seen in Java 6/7 with the MS SqlServer driver (both jTDS and Microsoft), but is possible that the error could be observed in other drivers (though none  have been reported).

Lars Gråmark

unread,
Nov 11, 2014, 4:09:26 AM11/11/14
to hika...@googlegroups.com
Hello Brett. I downloaded 2.2.4 and also took a look on the lastest version 2.2.5-rc2. It seems as if the class version is set to 52.0 (java 8) and this does not seem to be compatible with
java 1.7.
I get the error below when I start my application.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/zaxxer/hikari/HikariConfig : Unsupported major.minor version 52.0
If you still support 1.7 or even java 1.6 you need to compile with another compatibility level.

David Harrigan

unread,
Nov 11, 2014, 4:12:48 AM11/11/14
to Lars Gråmark, hika...@googlegroups.com
Hi Lars,

Did you download the Java 6/7 specific version?

    <dependency>
        <groupId>com.zaxxer</groupId>
        <artifactId>HikariCP-java6</artifactId>
        <version>2.2.4</version>
        <scope>compile</scope>
    </dependency>
-=david=-

--
You received this message because you are subscribed to a topic in the Google Groups "HikariCP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hikari-cp/unjtDQ4d0H4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hikari-cp+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
I prefer encrypted and signed messages. KeyID: B20A22F9
Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9

"It is not usually until you've built and used a version of the program that you understand the issues well enough to get the design right." - Rob Pike, Brian Kernighan.

No trees were harmed in the sending of this message, however, a number of electrons were inconvenienced.

Lars Gråmark

unread,
Nov 11, 2014, 4:23:07 AM11/11/14
to hika...@googlegroups.com, lars.g...@gmail.com
Sorry about that. I missed the -java6 at the end of the artifact name. Stupid mistake.
Do you keep the two branches synchronized - can I expect the same bug fixes and new features when I upgrade to java 1.8?

Thanks

David Harrigan

unread,
Nov 11, 2014, 4:25:40 AM11/11/14
to Lars Gråmark, hika...@googlegroups.com
Hi,

Yes, Brett keeps both synchronised :-)

-=david=-

Brett Wooldridge

unread,
Nov 12, 2014, 10:25:34 AM11/12/14
to hika...@googlegroups.com, lars.g...@gmail.com
HikariCP 2.2.5-rc3 has been published to the sonatype staging repository.  Please report any issues to this forum or the github issue tracker.

This iteration contains a fix to work around a reported JDBC driver bug regarding setting transaction isolation level (Issue #187), and another fix where DataSource.loginTimeout() was always being set to 1000ms, due to the use of Math.min() where Math.max() should have been used.

David Harrigan

unread,
Nov 12, 2014, 10:27:51 AM11/12/14
to Brett Wooldridge, hika...@googlegroups.com, lars.g...@gmail.com
Hi Brett,

Been using HikariCP 2.2.5 Snapshot, then RC2 and RC3 with Spring 4.1.2 and Hibernate 4.3.7 without issues so far :)

Fantastic!

-=david=-

On Wed Nov 12 2014 at 15:25:36 Brett Wooldridge <brett.wo...@gmail.com> wrote:
HikariCP 2.2.5-rc3 has been published to the sonatype staging repository.  Please report any issues to this forum or the github issue tracker.

This iteration contains a fix to work around a reported JDBC driver bug regarding setting transaction isolation level (Issue #187), and another fix where DataSource.loginTimeout() was always being set to 1000ms, due to the use of Math.min() where Math.max() should have been used.

Reply all
Reply to author
Forward
0 new messages