Help

Hibernate ORM 4.1.0 has just been released. This release adds a few new features, as well as a bunch of improvements and bug fixes. Some features in particular include:

  • A new (actual) API for loading by natural identifiers. See mainly HHH-2879 and HHH-6974. Additionally, see my earlier post on this feature.
  • Addition of a TenantIdentifierResolver for use with multitenancy in getCurrentSession use cases. See HHH-6336
  • The ability to provide custom dirty handling. See HHH-3910 and HHH-6998

See the 4.1 release notes for the full details.

Additionally, quite a bit of work went into the documentation for this release. The JPA/HEM documentation has been completely consumed into Hibernate Reference Documentation and Hibernate Developer Guide. Mostly annotation/mapping information went into the former, while everything else went into the latter. Other efforts such as documenting multitenancy, services, etc when into Hibernate Developer Guide as well. The focus now, as we move ahead will be folding the information from Hibernate Reference Documentation into Hibernate Developer Guide.

3.6.10 was released today as well. It contains some bugfixes. Again, see the release notes for the details.

P.S. A quick note about the name Hibernate ORM. This refers to exactly what we previously called Hibernate Core. A brief history is that initially there was just Hibernate, but as the team started working on related projects (Hibernate Search, etc.) we agreed to refer to what had been just Hibernate as Hibernate Core. We recently decided that the core portion of the name was just a bad choice, as it doe not give any clue as to the intent. Hence Hibernate ORM.

27 comments:
 
09. Feb 2012, 07:51 CET | Link

Out of notable improvements on the Envers side, there's a pretty large new feature: being able to store flags for individual field changes, and later query that info (e.g. find revisions where the firstName property changed).

See the related issue: https://hibernate.onjira.com/browse/HHH-6605 and the docs.

Blog post coming soon :)

Adam

 
09. Feb 2012, 22:17 CET | Link
Anon

Can you guys possibly release digital signatures for the zip files so that it is possible to validate that the file came form the developers?

 
10. Feb 2012, 17:23 CET | Link

Sure thats possible. Outline needed steps on https://hibernate.onjira.com/browse/HHH-7051 as I am not really familiar with details of publishing signing keys, etc.

 
11. Feb 2012, 17:40 CET | Link

For French developper ,they can make a Full-Text search on file,here

 
11. Feb 2012, 23:27 CET | Link

Thanks! When will it be in Maven Central?

 
12. Feb 2012, 17:32 CET | Link
Greg

I run very a basic query (no joins) in Hibernate 4.1 and get 3 records back. I copy the EXACT hibernate generated SQL and run it in PostgreSQL and get 4 records. 4 records is correct.

The Hibernate generated SQL:

select 
    issue0_.issueID as issueID8_, issue0_.dateAdded as dateAdded8_, issue0_.dateUpdated as dateUpda3_8_, 
    issue0_.projectID as projectID8_, issue0_.displayCode as displayC4_8_, issue0_.isActive as isActive8_, 
    issue0_.issueCode as issueCode8_, issue0_.issueDesc as issueDesc8_, issue0_.statusID as statusID8_, 
    issue0_.selectable as selectable8_, issue0_.substantive as substant9_8_, issue0_.whoUpdated as whoUpdated8_ 
from 
    Issue issue0_ 
where issue0_.projectID = 1
and (issue0_.displayCode like '1.%') 
order by issue0_.issueCode

I have inspected the 4 records in the DB very closely, and see absolutely NO reason a record is being skipped; only when running the SQL through Hibernate.

 
12. Feb 2012, 23:58 CET | Link
Amir Pashazadeh

Are you mapping your entities correctly? I believe your entity primary key is not the real primary key

 
13. Feb 2012, 01:55 CET | Link

It is there now Paul. There was a problem with Sonatype syncing the stuff from JBoss repo for a few days. But I just checked and it is there now.

 
13. Feb 2012, 01:57 CET | Link

Greg, this is not the correct place to get help. Notification, code formatting, etc just suck here. Use the forums or IRC for usage help.

13. Feb 2012, 12:21 CET | Link

Hello!

When is it scheduled a new release of hibernate-tools, compatible with last versions of hibernate-core?

I've seen great improvements in hibernate-core and others, but what about hibernate-tools? Don't leave it behind!

Thanks! Rui Baeta

13. Feb 2012, 19:44 CET | Link

Hi Rui, hibernate-tools is now part of a wider collections of tools: http://www.jboss.org/tools thanks for your support!

14. Feb 2012, 12:12 CET | Link
Rui Baeta
Thank you for your response!

Yes, I'm aware of that, but the only part I'm interested in is hibernate-tools.jar, so that I can automate the reverse engineering process.

I'm looking for hibernate-tools.jar in your public maven repositories:

https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-tools/

and the last version is 3.2.4.GA, a couple of years old..., and incompatible with hibernate-core v3.5+

Do I have to download and install the whole IDE JBoss Developer Studio, when I just want to generate entity classes with ORM???

Rui Baeta
 
20. Feb 2012, 21:14 CET | Link
hibernateChicago

Where is the new 4.1 Documentation? hibernate.org/docs still shows 4.0.

Thanks!

ps, Like Rui, I too miss hibernate-tools from the old days

 
20. Feb 2012, 21:24 CET | Link

http://docs.jboss.org/hibernate/orm/4.1/ or http://docs.jboss.org/hibernate/core/4.1/

06. Mar 2012, 21:18 CET | Link
Nikola

I am also interested in custom reverse engineering strategy. Confused about how this works with hibernate 4.1 release. Thanks.

25. Feb 2013, 12:39 CET | Link
Srikanth

Hi,

I am trying to migrate from hibernate 3.6 to 4.1, I could not find the below two classes in hibernate 4.1 jar files. Can somebody explain where have those classes gone?

org.hibernate.jdbc.ConnectionManager org.hibernate.jdbc.ConnectionWrapper

Thanks in advance for any help/suggestion!

-Srikanth

 
03. Apr 2014, 11:30 CET | Link

Tomorrow the money to buy replica Chanel uk bag.I will lift, and the replica Chanel bags we also take away !

 
03. Apr 2014, 11:31 CET | Link

This soccer jerseys uk put it in your body.

 
09. May 2014, 09:40 CET | Link

For carrying groceries, sweets, fruits or any sort of replica handbags uk food items, plastic bags are essential.

 
18. Jun 2014, 14:31 CET | Link

A basic skill a Forex trader has to acquire is how to read live Forex quotes. It will help the newbie trader read and interpret live Forex quotes. forex quotes Risking that much when you have one losing trade you are rattled, two losing trades and you are panic stricken, three losing trades and you are toast foreign

 
07. Jul 2014, 08:53 CET | Link
Burberry has been on the cutting-edge of innovation in the luxury fashion world. Burberry live stream Burberry catwalk watchers can chat to each other during the live stream The British firm <a href="http://www.italia-hotel.com/chanelcoco/">chanel replica handbags</a> has been providing live streams for its key Fashion Week shows to customers around the world. Anyone could click on the dresses - and order them before the show had even finished.
 
02. Sep 2014, 11:59 CET | Link
jack

I am in the middle of working on a school report on general dentist vero beach this topic and your post has helped me with the information I needed to complete it. Thanks.

11. Sep 2014, 12:17 CET | Link
asadalikhatri

3 PXL Photography - Las Vegas, Nevada. USA. Wedding photography company.Las Vegas Wedding Photographers

11. Sep 2014, 12:37 CET | Link
asadalikhatri

Modern signage depends on words which are used with images. At times modern signage designed for international audience omits text. You can promote your business with the help of custom made signage.Web Development

16. Sep 2014, 09:05 CET | Link
michael kors outlet online sale,michael kors,kors outlet,michael kors outlet,michael kors handbags,michael kors outlet online,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors

, oakley vault,oakley sunglasses,oakleys,oakley sunglasses cheap,oakley.com,sunglasses outlet,cheap oakley,cheap oakley sunglasses,oakley outlet,cheap sunglasses,oakley prescription glasses,fake oakleys,oakley sunglasses outlet,oakley glasses,oakley store,fake oakley,oakley sale,cheap oakleys,discount oakley sunglasses, tory burch outlet,tory burch,tory burch handbags,tory burch shoes,tory burch sale,toryburch,tory burch sandals,toryburch.com,tory burch flip flops, ray ban sunglasses outlet,ray ban,ray ban sunglasses,rayban,ray bans,ray ban outlet,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,raybans.com,rayban sunglasses,cheap ray ban, oakley sunglasses,oakley vault,oakleys,oakley sunglasses cheap,oakley.com,sunglasses outlet,cheap oakley,cheap oakley sunglasses,oakley outlet,cheap sunglasses,oakley prescription glasses,fake oakleys,oakley sunglasses outlet,oakley glasses,oakley store,fake oakley,oakley sale,cheap oakleys,discount oakley sunglasses, burberry outlet online,burberry,burberry outlet,burberry handbags,burberry factory outlet,burberry sale, polo ralph lauren outlet online,ralph lauren,polo ralph,polo ralph lauren,ralph lauren outlet,polo shirts,ralph lauren outlet online,polo ralph lauren outlet,ralphlauren.com,polo outlet,ralph lauren polo, gucci outlet,gucci handbags,gucci belts,gucci shoes,gucci,gucci belt,gucci sunglasses,gucci bags,cheap gucci, polo ralph lauren outlet,ralph lauren,polo ralph,polo ralph lauren,ralph lauren outlet,polo shirts,ralph lauren outlet online,polo ralph lauren outlet online,ralphlauren.com,polo outlet,ralph lauren polo, michael kors outlet,michael kors,kors outlet,michael kors handbags,michael kors outlet online,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors, toms shoes,toms outlet,toms shoes outlet,toms.com,tom shoes, cheap oakley sunglasses,oakley sunglasses,oakley vault,oakleys,oakley sunglasses cheap,oakley.com,sunglasses outlet,cheap oakley,oakley outlet,cheap sunglasses,oakley prescription glasses,fake oakleys,oakley sunglasses outlet,oakley glasses,oakley store,fake oakley,oakley sale,cheap oakleys,discount oakley sunglasses, louboutin,christian louboutin,red bottom shoes,louboutin shoes,red bottoms,louboutin outlet,christian louboutin shoes,christian louboutin outlet,red bottom shoes for women,louboutins, michael kors outlet online,michael kors,kors outlet,michael kors outlet,michael kors handbags,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors, michael kors outlet,michael kors outlet online,michael kors,kors outlet,michael kors handbags,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors, ray ban sunglasses,ray ban,rayban,ray bans,ray ban outlet,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,raybans.com,ray ban sunglasses outlet,rayban sunglasses,cheap ray ban, louboutin outlet,louboutin,christian louboutin,red bottom shoes,louboutin shoes,red bottoms,christian louboutin shoes,christian louboutin outlet,red bottom shoes for women,louboutins, michael kors handbags clearance,michael kors handbags,michael kors bags,michael kors purses

 
24. Sep 2014, 13:39 CET | Link
I'll upgrade in a year or two" I'm so glad I didn't do that, I'm still just beginning but I can see how valuable having more stitch options is going to be and I've already started using some of them. There wasnt a major growth but my boobs were a little more plump and full. Disappointed that it did not include a miter guide. I have even made adjustments so I can throw in a little ground flavored coffee while still using the grinder. <a href="http://freeebookformate.bravesites.com/">click for more</a>
 
20. Oct 2014, 10:57 CET | Link
MUchas

This is a great article thanks for sharing this informative information. HD mxf files conversion software mxf converter pdf conversion to Office pdf to word d