Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-07-19 Thread Steve Ebersole
Actually it looks like some other changes now require JDK 1.7 to be used. Specifically some changes in either the hibernate-mapping.xsd or in the JAXB/XJC piece that parses it. It is now trying to add an attribute to the generated classes that is only valid in JDK 1.7 (javax.xml.bind.annotati

Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-07-19 Thread Steve Ebersole
Wanted to make sure it was clear that as I move this out to metamodel, building metamodel will also require JDK 1.7 to build. Also, this does not mean we will "move to" JDK 1.7 as a base for Hibernate 5 *necessarily*. I am open to that discussion, too, but really it just means that right now t

Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-07-19 Thread Steve Ebersole
Just an FYI that this code has now bee integrated into master (4.1 has been branched off). That means that as of now, to build master you will have to use JDK 1.7... On 06/14/2012 10:24 AM, Steve Ebersole wrote: > Interesting, once I got it compiled (using Java 7) I could then run the > tests

Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-06-14 Thread Steve Ebersole
Interesting, once I got it compiled (using Java 7) I could then run the tests fine using Java 6 or 7. On Thu 14 Jun 2012 09:50:10 AM CDT, Hardy Ferentschik wrote: > Using: > > JVM: 1.6.0_31 (Apple Inc. 20.6-b01-415) > OS: Mac OS X 10.7.4 x86_64 > > I get: > > ant:javac] > /Users/hardy/tmp/core/

Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-06-14 Thread Hardy Ferentschik
Using: JVM: 1.6.0_31 (Apple Inc. 20.6-b01-415) OS: Mac OS X 10.7.4 x86_64 I get: ant:javac] /Users/hardy/tmp/core/hibernate-jpa2.1-working/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/CollectionJoinImplementor.java:35: types org.hibernate.ejb.criteria.JoinImplementor and o

Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-06-14 Thread Steve Ebersole
So I tried with JDK 1.7 and it worked fine. I am hoping we can get people to try this on different architecture/jdk combos so we can see where the issue boundaries are. I am running on Linux and using the Oracle JDKs: java version "1.6.0_30" java version "1.7.0_03" This does in fact seem to b

Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-06-14 Thread Steve Ebersole
Ah great point. No I have been compiling with JDK 1.6 On Thu 14 Jun 2012 04:45:27 AM CDT, Hardy Ferentschik wrote: > Hi, > > OOI, have you tried with the Java 7 compiler? I think there used to be a bug > in the Java 6 compiler > when it came to covariant return types. > > --Hardy > > > > On Jun

Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-06-14 Thread Hardy Ferentschik
Hi, OOI, have you tried with the Java 7 compiler? I think there used to be a bug in the Java 6 compiler when it came to covariant return types. --Hardy On Jun 13, 2012, at 10:04 PM, Steve Ebersole wrote: > I realize I could split Join and Fetch into different hierarchies. > That is what I

Re: [hibernate-dev] Typing Help with JPA 2.1 impl

2012-06-13 Thread Steve Ebersole
I realize I could split Join and Fetch into different hierarchies. That is what I want to try to avoid though... On Wed 13 Jun 2012 02:55:03 PM CDT, Steve Ebersole wrote: > I need some help with generic types in the JPA 2.1 API, specifically > with regard to the new Join#on and Fetch#on methods.