BigInt vs Int in SQL Server

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
robv
Posts: 25
Joined: Fri Jun 20, 2008 8:21 am

BigInt vs Int in SQL Server

Post by robv »

Hi

Any reason why AwareIm uses BIGINT field data type for reference _RID fields but an INT field data type for the ID field.

The subtle difference causes a data type mismatch when using a third party report tool when linking the data in related tables.

(Please note: This question is specific to SQL Server. This situation did not arise with MySQL.)
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

The only reason is that ID fields are represented as "long" in Java. The SQL Server driver translates these to BIGINT, so it's really a driver doing, not Aware IM's.

The reporting tool could be smarter and not cause a data mismatch for such compatible types.
Aware IM Support Team
Post Reply