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

Andra Nedelcovici (JIRA) noreply at atlassian.com
Tue Sep 9 09:14:04 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31114#action_31114 ] 

Andra Nedelcovici commented on HHH-3466:
----------------------------------------

Where it is written that HIbernate must be built with JDK 1.5? Officially, Hibernate requires JRE 1.4. Why should 1.5 be necessary for building?

Moreover, this bug duplicates HHH-2412 only partially. 


> 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
>            Assignee: Gail Badner
>            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