Help

The Hibernate team is proud to announce the 4.3.0.CR1 release of Hibernate ORM. This is the first release candidate for 4.3 and JPA 2.1 support. For those who maybe are not familiar with our release methodology, this means that in 2-3 weeks this release will essentially be re-tagged as Final unless some critical bugs are reported with it in the meantime.

I will do a full break down of all the new goodies added over the course of 4.3 development in the Final release announcement. Specific development of note done for CR1 include:

  • Support for JPA 2.1 EntityGraphs. This was the biggie holding us back from going to CR. HHH-8285 and friends
  • Integration of the Hibernate JPA Static Metamodel Generator into the ORM project - HHH-8483
  • Starting on break down of the monolithic DocBook-based manuals into smaller Asciidoc-based topical guides (ongoing) - HHH-8606
  • A number of performance fixes including HHH-8709, 8704, 8698, HHH-8682, etal.

The full version info (including change log) can be seen on the version page

Artifacts and release bundles can be found in the normal places.

4 comments:
 
29. Nov 2013, 09:48 CET | Link

I was desperately waiting for entity graph support and that's avaliable now. Great news - great job - thank you.

I have one question regarding the difference between load and fetch graph:

Suppose we have a class with some lazy and eager attributes, defining an entity graph for a lazy attribute e. g.

@Entity @NamedEntityGraph(name = "Publisher_books", attributeNodes = @NamedAttributeNode(value = "books")) public class Publisher { @OneToMany(mappedBy = "publisher", fetch = FetchType.LAZY) private List<Book> books; @ElementCollection(fetch = FetchType.EAGER) private List<String> categories; ... } If I run a query like select p from Publisher p and specify the entity graph by the hint javax.persistence.fetchgraph, I would expect books to be fetched, but categories not. By using the hint javax.persistence.loadgraph both attributed would be fetched. Is my expectation correct?

Regards, Dirk

ReplyQuote
 
29. Nov 2013, 15:44 CET | Link
Jostein Gogstad

Is the new dependency to Java 7 intentional? (ref My Link)

 
02. Dec 2013, 15:37 CET | Link
Dirk Weil wrote on Nov 29, 2013 03:48:
I was desperately waiting for entity graph support and that's avaliable now. Great news - great job - thank you.

It was certainly a struggle to add this feature for various reasons. So thanks!

Dirk Weil wrote on Nov 29, 2013 03:48:
If I run a query like select p from Publisher p and specify the entity graph by the hint javax.persistence.fetchgraph, I would expect books to be fetched, but categories not. By using the hint javax.persistence.loadgraph both attributed would be fetched. Is my expectation correct?

Yes, thats a valid assumption.

 
22. Apr 2014, 09:25 CET | Link

Get of the limitless models of the replica handbags and see your life modify immediately.Not only will the girls at the party shower all their affection on you, you can be rest assured that even your boss will pay special attention to you.Both the manufacturers and the makers of the replicated keep on playing a cat and http://gcuci.co.uk mouse game.The manufacturers are observing the market and get to know details regarding which of their models have been replicated.In order to prevent replications and to make the original stand out,they make subtle changes to the original.In such cases where the manufacturer of the original make changes to their, it won’t be long before the same changes are incorporated on the replica handbags. There’s been instances when even specialists have been fooled by the quality of these and they find it hard to think that someone can manufacture replica handbags that bear such a replica gucci shoulder bags striking resemblance to the original.There’s individuals who love the best in life and most of them earn to pay for the best things in life.

Post Comment