From: lihong <ll...@fe...> - 2005-01-20 17:41:26
|
My sybase Route table definition is routeId binary 12 Primary key routeType char 2 routeNo char 5 effDaysZ char 128 balRouteNo char 5 scacCd char 4 ccCost numeric 5 cost numeric 5 operator char 1 And this is my Route.xml file <dataset> <Route routeId = '0x000000000000000000000001' routeNo = 'TP001' balRouteNo = 'IX056' ccCost = '56.16' cost = '607.63' operator = 'C' scacCd = 'OZRK' routeType = 'LH' effDaysZ = '00111110011111001111000111C0100000000000000000000000000000000000' /> </dataset> When dbUnit loads this file to sybase, the routeId is stored as 0xD34D34D34D34D34D34D34D34 instead of 0x000000000000000000000001. Is this dbUnit bug, or I am not writing my xml right? Thanks for the help Lihong |