Hi,
   I have a doubt in selecting datatype for a container managed field (in CMP Entity Bean) specifically for INTEGER type.
If we use 'short' instead of 'int' for Container Managed Field (where the database mapping datatype is short), will it lead to a performance improvement?

Usually for INTEGER column in Database, we used to declare int in the Bean Class.
But for Database like Informix, the actual java Datatype mapping for INTEGER is short.
In such case, if we use short instead of int, will it lead to performance improvement? or only it occupies less memory ?

Thanks in Advance,
Sukumar
--------------------------------------
Ph: (off) 2051959 (Direct)
    (res)080-2124972
Voice Mail : (408) 847-1959
--------------------------------------
 

Reply via email to