Hi,
Suppose I have a SQL Server database table "Foo" and it has a primary key field "fooID". The column's DB data type is BIGINT, which translates into Long in the Java code. Are Long values compatible with forms and ListGrids?
I was using "INT" as the data type, and using IntegerItem in a form to render the ID. However, there is no corresponding "LongItem" for form items. What do you recommend for this?
Also, if I have a SelectItem with a foreign key reference to another table where the ID is also a BIGINT/Long, what's your recommendation?
I'm trying to change from int-based to Long-based primary-key columns and things are crashing spectacularly. :-)
Thank you!
Suppose I have a SQL Server database table "Foo" and it has a primary key field "fooID". The column's DB data type is BIGINT, which translates into Long in the Java code. Are Long values compatible with forms and ListGrids?
I was using "INT" as the data type, and using IntegerItem in a form to render the ID. However, there is no corresponding "LongItem" for form items. What do you recommend for this?
Also, if I have a SelectItem with a foreign key reference to another table where the ID is also a BIGINT/Long, what's your recommendation?
I'm trying to change from int-based to Long-based primary-key columns and things are crashing spectacularly. :-)
Thank you!
Comment