This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I am receiving the following error when attempting to use UInt16 fields: Can't translate data type 'UInt16' into VistaDB data type. Clearly this can not be right because I have used ORMs that did the mapping correctly. Is there no way to override the default data type mapping, or any workaround to this property instead of changing my field's data type? |
|
|
No, we dont translate unsigned integers because all of the integer types provided by VistaDB are specifically signed (see: http://www.vistadb.net/onlinehelp/VistaDB.4~VistaDB.VistaDBType.html) What would you be expecting this to translate to? INT rather than SMALLINT?
|
|
|
Well I was primarily using UInt16 for port numbers but thanks for bringing this to my attention, I didn't know that they were all signed save for tinyint of course. I guess I can stick with the normal int/Int32. Thanks. |
|