Skip to main content

What"s new in Hibernate 4?



I just saw that a beta of Hibernate 4 was released. What's new in 4 compared to 3(.6)? I couldn't find this info in the beta announcement, nor when Googling the title of this question.




Comments

  1. It appears that most of what you want are in the migration guide for 4.0, as well as the blog post on alpha 1 release, and perhaps the Hibernate 4 webinar.

    ReplyDelete
  2. I can't paste the answers here, due to I don't have enough reputations to add more then two links in the answer(I really need spend more time on this site) :(

    so, please to go and
    so, I wrote a blog post, please go there and find the answers, sorry for the inconvenience.

    EDIT: Quoted from http://in.relation.to/Bloggers/WhatsNewInHibernateCore40.


    What's new in Hibernate Core 4.0

    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 :)

    ReplyDelete
  3. Don't know if this will benefit you, but I found some information on the Hibernate 4 Webinar page. In a linked doc they also gave some links. I have not had a look at them, but maybe give them a go:

    http://community.jboss.org/wiki/Hibernate4Webinar

    http://community.jboss.org/wiki/HibernateCoreMigrationGuide40

    https://lists.jboss.org/mailman/listinfo/hibernate-dev

    http://www.hibernate.org/community/irc

    ReplyDelete
  4. Be careful that the old "caching model" has been removed from the API :)

    ReplyDelete

Post a Comment

Popular posts from this blog

Why is this Javascript much *slower* than its jQuery equivalent?

I have a HTML list of about 500 items and a "filter" box above it. I started by using jQuery to filter the list when I typed a letter (timing code added later): $('#filter').keyup( function() { var jqStart = (new Date).getTime(); var search = $(this).val().toLowerCase(); var $list = $('ul.ablist > li'); $list.each( function() { if ( $(this).text().toLowerCase().indexOf(search) === -1 ) $(this).hide(); else $(this).show(); } ); console.log('Time: ' + ((new Date).getTime() - jqStart)); } ); However, there was a couple of seconds delay after typing each letter (particularly the first letter). So I thought it may be slightly quicker if I used plain Javascript (I read recently that jQuery's each function is particularly slow). Here's my JS equivalent: document.getElementById('filter').addEventListener( 'keyup', function () { var jsStart = (new Date).getTime()...

Is it possible to have IF statement in an Echo statement in PHP

Thanks in advance. I did look at the other questions/answers that were similar and didn't find exactly what I was looking for. I'm trying to do this, am I on the right path? echo " <div id='tabs-".$match."'> <textarea id='".$match."' name='".$match."'>". if ($COLUMN_NAME === $match) { echo $FIELD_WITH_COLUMN_NAME; } else { } ."</textarea> <script type='text/javascript'> CKEDITOR.replace( '".$match."' ); </script> </div>"; I am getting the following error message in the browser: Parse error: syntax error, unexpected T_IF Please let me know if this is the right way to go about nesting an IF statement inside an echo. Thank you.