[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3386) Hibernate 3.3.0 CR1 has a dependency of java 1.5. Integer.valueOf(int) is called in some places.

Dimitri Lubenskyy (JIRA) noreply at atlassian.com
Fri Aug 15 09:20:06 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30889 ] 

Dimitri Lubenskyy commented on HHH-3386:
----------------------------------------

Hi!

there is a stack trace to be clear. As you can see org.hibernate.jdbc.util.BasicFormatterImpl$FormatProcess.select(BasicFormatterImpl.java:271) calls java.lang.Integer.valueOf(I)Ljava/lang/Integer; which is not available in SDK 1.4.


java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;
	at org.hibernate.jdbc.util.BasicFormatterImpl$FormatProcess.select(BasicFormatterImpl.java:271)
	at org.hibernate.jdbc.util.BasicFormatterImpl$FormatProcess.perform(BasicFormatterImpl.java:162)
	at org.hibernate.jdbc.util.BasicFormatterImpl.format(BasicFormatterImpl.java:82)
	at org.hibernate.jdbc.util.SQLStatementLogger.logStatement(SQLStatementLogger.java:100)
	at org.hibernate.jdbc.AbstractBatcher.log(AbstractBatcher.java:398)
	at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:465)
	at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:406)
	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:137)
	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1550)
	at org.hibernate.loader.Loader.doQuery(Loader.java:673)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
	at org.hibernate.loader.Loader.doList(Loader.java:2205)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2102)
	at org.hibernate.loader.Loader.list(Loader.java:2097)
	at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:96)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1573)
	at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
	at com.siemens.pg.se.hib.services.EmployeeService.getInstManagersToApprove(EmployeeService.java:271)
	at com.siemens.pg.se.permissions.PermissionsFactory.setUserForApproval(PermissionsFactory.java:277)
	at com.siemens.pg.se.permissions.PermissionsFactory.setPermissionAttributes(PermissionsFactory.java:217)
	at com.siemens.pg.se.permissions.PermissionsFactory.getPermissions(PermissionsFactory.java:168)
	at com.siemens.pg.se.permissions.PermissionsFactory.getPermissions(PermissionsFactory.java:109)
	at com.siemens.pg.se.test.utils.UnitTestUtils.<clinit>(UnitTestUtils.java:29)
	at com.siemens.pg.se.test.hib.SessionFactoryHelperTest.testEntityNumberById(SessionFactoryHelperTest.java:90)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

> Hibernate 3.3.0 CR1 has a dependency of java 1.5. Integer.valueOf(int) is called in some places.
> ------------------------------------------------------------------------------------------------
>
>                 Key: HHH-3386
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3386
>             Project: Hibernate3
>          Issue Type: Bug
>    Affects Versions: 3.3.0.CR1
>         Environment: java 1.4
>            Reporter: Dimitri Lubenskyy
>            Assignee: Diego Plentz
>
> Hibernate 3.3.0 CR1 has a dependency of java 1.5. Integer.valueOf(int) is called in some places.

-- 
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