I updated my pom.xml file to upgrade the Hibernate Core version to 3.6.0.Final as in:
Code:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.6.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>3.1.0.GA</version>
</dependency>
And now, when building, I get the following error:
Quote:
cannot find symbol
symbol : variable LEFT_JOIN
location: interface org.hibernate.Criteria
The build worked fine before when I had:
Code:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.2.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>3.1.0.GA</version>
</dependency>
The error message:
Quote:
[INFO] Compilation failure
/home/stephane/dev/java/project/learnintouch/core/src/main/java/com/thalasoft/learnintouch/core/dao/hibernate/MailHibernateDao.java:[94,146] cannot find symbol
symbol : variable LEFT_JOIN
location: interface org.hibernate.Criteria
/home/stephane/dev/java/project/learnintouch/core/src/main/java/com/thalasoft/learnintouch/core/dao/hibernate/MailHibernateDao.java:[94,93] cannot find symbol
symbol : variable LEFT_JOIN
location: interface org.hibernate.Criteria
How come the LEFT_JOIN is gone from the Critreria interface ?