[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3272?page=c...
]
Gary Ip commented on HHH-3272:
------------------------------
I found that beside changing the compliance level to JDK 1.4, you also need to change the
JRE system library to use JDK/JRE 1.4, so that you need to have JDK 1.4 installed as well
; )
using of Integer.valueOf(int), which is not available in JDK 1.4
----------------------------------------------------------------
Key: HHH-3272
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3272
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.3.0.CR1
Environment: Windows XP SP2, Tomcat 5.5.26, JDK 1.4.2_17, Spring 2.5.4, Hibernate
3.3.0.CR1
Reporter: Gary Ip
Assignee: Diego Plentz
Fix For: 3.3.0.CR2
In class org.hibernate.jdbc.util.BasicFormatterImpl$FormatProcess line: 271:
private void select() {
out();
indent++;
newline();
parenCounts.addLast( Integer.valueOf( parensSinceSelect ) );
afterByOrFromOrSelects.addLast( Boolean.valueOf( afterByOrSetOrFromOrSelect ) );
parensSinceSelect = 0;
afterByOrSetOrFromOrSelect = true;
}
parensSinceSelect is a int type, while in Integer.valueOf(int) only available since JDK
1.5
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira