In the MSSQL database of my legacy application there are tables with primary key attributes of smallint datatype.
I created the entities in Cuba Studio through de “Generate Model” functionality.
When I created from scratch an entity in Cuba Studio with an association to an entity with primary key attribute of smallint datatype, the database update task fails with the next error:
The data type of the column ‘COTDIVIS.DiCd’ does not match that of the column ‘PROEXSAFENIX_FACTURA_PROVEIDOR.DIVISA_ID’ that makes the reference in the foreign key ‘FK_PROEXSAFENIX_FACTURA_PROVEIDOR_DIVISA’.
Is the smallint data type supported in Cuba Studio 6.7.6?