[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3466) Hibernate cannot be built with JDK 1.4, nor with JDK 1.6

Andra Nedelcovici (JIRA) noreply at atlassian.com
Fri Sep 5 10:19:04 EDT 2008


Hibernate cannot be built with JDK 1.4, nor with JDK 1.6
--------------------------------------------------------

                 Key: HHH-3466
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3466
             Project: Hibernate3
          Issue Type: Bug
          Components: build
    Affects Versions: 3.3.0.SP1
            Reporter: Andra Nedelcovici
            Priority: Critical


Despite the fact that Hibernate officially requires JRE 1.4 only, it cannot be built from sources using JDK 1.4.
There is a restriction enforced in a Maven configuration file upon the building JDK version, namely at least 1.5 is required. Removing this restriction yields some JUnit test errors for JBoss cache.
Conversely, Hibernate cannot be built with JDK 1.6 since JDBC 4.0 adds some new methods that Hibernate is not aware of and the compilation fails.

The solution is:
 - not to build JBoss(2) cache when the building JDK is 1.4 (already missing Ant ?)
 - to account for the new methods introduced in JDBC 4.0 (even if they are not needed they must be implemented)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list