| Author |
Return primitive in getColumnClass?
|
Mark Dary
Greenhorn
Joined: Jan 16, 2009
Posts: 29
|
|
Hi all
Is is possible to return a primitive in getColumnClass.
I was returning int.class but I kept getting errors, so I changed it to an Integer and it seems OK.
I was just curious if it was actually allowed to return a primitive.
Cheers.
Mark.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8436
|
|
Not really.
The expected return type is a class object and as you know primitives are well...primitives !
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
|
|
subject: Return primitive in getColumnClass?
|
|
|