Hi Naren,

currently this is not supported by the GQM, but it could be added. An integer goes 'till 2147483647, which is quite a lot. Are you sure you have more than 2 billion rows in a table?

The implementation to add this shouldn't be that difficult, the only problem I see is with the methods that return an int (save, insert, count, ...). There is no way to have this adapt transparently to longs with JDK 1.4, which we still support. Any suggestions about this are much appreciated.

Best regards,

Geert

On 3-feb-06, at 11:19, Naren wrote:

Hello
GenericQueryManagers require a int type setter and getter in Bean.

But in our project we will have lot of users and thousands of record in other user tables. So I want to use long type id. But I could not use long id with GenericQueryManagers. Is this a limitation ? I feel if the type of id field is java long type then it can be used for higher user databases.

Is it possible ?

--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to