Old hibernate version in [1.2.7]

126 views
Skip to first unread message

John Pletka

unread,
Jan 15, 2014, 4:21:10 PM1/15/14
to play-fr...@googlegroups.com
It appears that the current Playframework 1.2.7 download contains an
old (v3) of hibernate. I recently added a Set collection to one of my
models and notice that I was getting the "not processed by flush()"
Exception. That was a bug that was fixed in Hibernate 4.0.1
(https://hibernate.atlassian.net/browse/HHH-2763).

jar -tf play-1.2.7.zip | grep hibernate
play-1.2.7/framework/lib/hibernate-commons-annotations-3.2.0.Final.jar
play-1.2.7/framework/lib/hibernate-core-3.6.10.Final.docurl
play-1.2.7/framework/lib/hibernate-core-3.6.10.Final.jar
play-1.2.7/framework/lib/hibernate-entitymanager-3.6.10.Final.jar
play-1.2.7/framework/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar
play-1.2.7/framework/lib/hibernate-validator-4.1.0.Final.jar
play-1.2.7/framework/patches/hibernate-3.6.x.Final.patch
play-1.2.7/framework/patches/hibernate-3.6.x.Final.patch.README

Is it safe to update all the hibernate libraries to the latest
version? Is the hibernate upgrade part of the 1.3 release? I can't
find any information on the 1.x roadmap.

John

Nicolas Leroux

unread,
Jan 15, 2014, 5:26:54 PM1/15/14
to play-fr...@googlegroups.com, play-fr...@googlegroups.com


> On 15 Jan 2014, at 22:21, John Pletka <jpl...@abraxis.com> wrote:
>
> It appears that the current Playframework 1.2.7 download contains an
> old (v3) of hibernate. I recently added a Set collection to one of my
> models and notice that I was getting the "not processed by flush()"
> Exception. That was a bug that was fixed in Hibernate 4.0.1
> (https://hibernate.atlassian.net/browse/HHH-2763).
>
> jar -tf play-1.2.7.zip | grep hibernate
> play-1.2.7/framework/lib/hibernate-commons-annotations-3.2.0.Final.jar
> play-1.2.7/framework/lib/hibernate-core-3.6.10.Final.docurl
> play-1.2.7/framework/lib/hibernate-core-3.6.10.Final.jar
> play-1.2.7/framework/lib/hibernate-entitymanager-3.6.10.Final.jar
> play-1.2.7/framework/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar
> play-1.2.7/framework/lib/hibernate-validator-4.1.0.Final.jar
> play-1.2.7/framework/patches/hibernate-3.6.x.Final.patch
> play-1.2.7/framework/patches/hibernate-3.6.x.Final.patch.README
>

> Is it safe to update all the hibernate libraries to the latest
> version?

No it is not. Hibernate 4 does not support java 1.5 that is why it did not make the 1.2 branch,
> Is the hibernate upgrade part of the 1.3 release?

Yes it is.

> I can't
> find any information on the 1.x roadmap.

Yes because play 2 is what you should look at ;) more seriously the 1.3 will be the last release in the series, so I seriously advise you to look at play 2 (and I know quite a good book about play2 java...)

Nicolas
>
> John
>
> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

John Pletka

unread,
Jan 16, 2014, 1:00:37 PM1/16/14
to play-fr...@googlegroups.com
Unfortunately I have a very large project written in Play1 (about 40
models, hundreds of screens) and it would take months to rewrite it.
Play1 has been rock solid up to this point.

tazmaniac

unread,
Jan 16, 2014, 6:54:52 PM1/16/14
to play-fr...@googlegroups.com
Hi Nicolas,

As this is likely to be the last version of the 1.x series is it possible to update Hibernate to the latest stable release v4.3.0 from the current v4.1.3? I know there are some customisations required to Hibernate but not quite sure what the specifics are here or what the effort would be.

rgds,
Chris 
Reply all
Reply to author
Forward
0 new messages