These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Java 5 and hibernate 4
PostPosted: Wed Jun 01, 2011 11:53 am 
Newbie

Joined: Mon May 30, 2011 12:02 pm
Posts: 1
Hi there,

Is it possible to use java5 with hibernate4 ?
I'm trying to compile hibernate with java 1.5.0_22 but i got errors on "org.hibernate.build.gradle.inject.InjectionAction" because it uses an "@Override" annotation against a method declared in an interface ("org.gradle.api.Action") which is not allowed in java5 (see here: http://dertompson.com/2008/01/25/override-specification-changes-in-java-6/).

It should be possible to compile hibernate 4 with java5 or it is unsupported ?
If it's supported can i skip this compilation unit ?

Thanks,


Top
 Profile  
 
 Post subject: Re: Java 5 and hibernate 4
PostPosted: Thu Jun 02, 2011 9:50 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
no Hibernate 4 requires Java6.
Java6 is almost old now, and is a requirement for JDBC4, so it was time to move onward.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.