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