[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5036?page=c...
]
Strong Liu resolved HHH-5036.
-----------------------------
Assignee: Strong Liu
Resolution: Rejected
As you may know, hibernate 3.5 is JDK 1.4 compatible, so we can't use this valueof
method :(
Make IntegerType, LongType more efficient
-----------------------------------------
Key: HHH-5036
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5036
Project: Hibernate Core
Issue Type: Improvement
Affects Versions: 3.3.1
Reporter: Tomas Pollak
Assignee: Strong Liu
Currently the get() method for IntegerType and LongType allocate a new object every time.
It would improve the memory performance if the calls to the constructors were replaced by
Integer.valueOf() and Long.valueOf() respectively.
Thanks
--
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