assertj-db icon indicating copy to clipboard operation
assertj-db copied to clipboard

The valueType is mapped to Boolean if the column type is TINYINT

Open RanchoLi opened this issue 7 years ago • 1 comments

if the column type is TINYINT, the valueType of the column is mapped to Boolean, when I getValue().toString(), the value is true or false, I want to the value will be returned to the real value.

request.getRow(0).getColumnValue("current_status").getValue().toString();

RanchoLi avatar May 09 '18 10:05 RanchoLi

hi @RanchoLi , thanks for your feedback.

Normally TINYINT should mapped to Number. Can you send me a small sample to reproduce your issue ?

VanRoy avatar Dec 06 '19 14:12 VanRoy