| Recent Entries |
|
01. Dec 2011
|
|
|
27. Nov 2011
|
|
|
13. Nov 2011
|
|
|
01. Sep 2011
|
Hibernate Core 4.0.0.CR7 has just been released. The complete list of changes can be found in the JIRA release notes.
In this release, we have some performance improvement issue resolved, for example:
- HHH-5945 - Race condition in building query cache
- HHH-6845 - Avoid repeated invocations of ReflectHelper.overridesEquals in proxy initializers
- HHH-6858 - Minor performance improvements after hotspots analysis
- HHH-6862 - Reuse cached entryArray of IdentityMap in StatefulPersistenceContext as much as possible
- HHH-6868 - Lazily initialize HashMap in LockOptions
- HHH-6286 - UpdateTimestampsCache should try to avoid acquiring lock if possible
And in this release, we also fixed lots of bugs found with running hibernate tests on supported DB matrix (the matrix is not complicated, we only runs on a small subset of hibernate supported DBs), we're working hard to resolve all failures we found, and keep the CI job clean (the CI job can be accessed here ).
The release is available from SourceForge in bundle form as well as from the JBoss Nexus repository under the org.hibernate groupId.
Enjoy!
P.S. I really hope this is our last CR release. :D
Dear DB vendors, contributors, and others,
If you would like to run hibernate tests on other DB besides the default one (H2), please read this doc first.
For example, if you're working on a dialect to support your DB, it would better to run hibernate tests on it and make sure all tests pass(or at least, skip the failed test with a JIRA and explain why it should be skipped).
Hibernate Core CI can be viewed here , you can also download the nightly build from here and view javadoc.
Hibernate Core Matrix Testing job is here , currently, we run hibernate tests on :
- DB2 v9.7
- Oracle 11gR1
- Oracle 11gR1 RAC
- Oracle 11gR2
- Oracle 11gR2 RAC
- MySql 5.1
- Sql Server 2008 R1
- Sql Server 2008 R2
- PostgreSql 8.4
- Sybase ASE 15.5
We're choosing these DBs since they are widely used and they are supported by JBoss product , so JBoss QA team maintains them for us, we (hibernate team) do not have resource/time to maintain DB instances for testing.
For other DB(vendors), if you'd like to let us run hibernate tests on your DB, we are happy to add it to our matrix testing job, if you could provide us the DB connection info and maintain the DB instance yourself.
BTW, we're working hard to get all failures fixed before Hibernate Core 4.0 Final release, so, any help would be appreciated :D
I saw someone is asking what new in Hibernate Core 4.0
, so I take sometime and try to summary it here.
first of all, please see:
- the migration guide for 4.0
- JIRA filter link which lists all improvements and new features in Hibernate Core 4.0.0, you can get all details from this link :)
some highlights:
- move to gradle for builds
- Redesign SessionFactory building
- Introduction of services (see this for more details)
- Improved metamodel (not in 4.0.0.Final yet, we planned this, but due to the tasks are more than we expected, and it would take too long to get 4.0 out, so we decided to move this out of 4.0.0.Final but will be upcoming release soon see this for more details, and this is a design document)
- Initial osgi-fication by package splitting (public, internal, spi)
- Support for multi-tenant databases (see this for more details)
- Migration to i18n logging framework (using jboss logging)
- JDK 1.6 (JDBC4) as baseline
- and more (I can't remember all the things :)
Hibernate Core 4.0.0.CR2 has just been released. The complete list of its changes can be found in the JIRA release notes.
- HHH-6586 As Steve said in this post, we will continue new metamodel development after 4.0.0 release, we think the deprecation of Configuration may confuse the community, so in this issue, we removed the deprecation tag from this class, and we will continue to support this API until we get new metamodel ready, at which point this class will become deprecated and scheduled for removal in 5.0.
- HHH-6622 Upgrade to Hibernate Commons Annotations 4.0.0.CR2, now, we have fully moved to jboss logging, no slf4j-api dependency required anymore.
- HHH-6618 We have wrote a new gradle plugin which can be used to run hibernate functional tests on different DBs besides H2, this is useful for community contributors, see hibernate-core/buildSrc/readme.txt for more details.
The release is available from SourceForge in bundle form as well as from the JBoss Nexus repository under the org.hibernate groupId.
Enjoy!