| CLR Type |
iBatis support |
SqlDbType |
OleDbType |
OdbcType |
OracleType |
| Byte[] |
Yes |
Binary, Image, VarBinary |
Binary, VarBinary |
Binary, Image, VarBinary |
Raw |
| Boolean |
Yes |
Bit |
Boolean |
Bit |
Byte |
| Byte |
– |
TinyInt |
– |
TinyInt |
Byte |
| DateTime |
Yes |
DateTime, SmallDateTime |
Date |
Date, DateTime, SmallDateTime, Time |
DateTime |
| char |
Yes |
Not supported |
Char |
Char |
Byte |
| Decimal |
Yes |
Decimal, Money, SmallMoney |
Decimal, Currency, Numeric |
Decimal, Numeric |
Number |
| Double |
Yes |
Float |
Double |
Double |
Double |
| Guid |
Yes |
UniqueIdentifier |
Guid |
UniqueIdentifier |
Raw |
| Int16 |
Yes |
SmallInt |
SmallInt |
SmallInt |
Int16 |
| Int32 |
Yes |
Int |
Integer |
Int |
Int32 |
| Int64 |
Yes |
BigInt |
BigInt |
BigInt |
Number |
| Single |
Yes |
Real |
Single |
Real |
Float |
| String |
Yes |
Char, Nchar, NVarchar, Text, VarChar |
Char, VarChar |
Char, NChar, NText, NVarChar, Text, VarChar |
NVarChar |
| TimeSpan |
No |
Not supported |
DBTime |
Time |
DateTime |
| UInt16 |
yes |
Int |
– |
– |
UInt16 |
| UInt32 |
yes |
Decimal |
– |
– |
UInt32 |
| UInt64 |
yes |
Decimal |
– |
– |
Number |