Beginner |
|
Joined: Mon Nov 07, 2005 11:10 pm Posts: 30
|
I just did an Artifact Generation.
The generated classes use static imports, which does not work with JDK 1.4:
import static org.hibernate.criterion.Example.create;
I have to change it to:
import org.hibernate.criterion.Example;
.. .and change this:
.add( create(instance) )
... to this:
.add( Example.create(instance) )
... for things to compile.
I don't see any option to say that the target JDK is 1.4 during the artifact generation. Am I missing something ??
|
|