Page 1 of 1

wong value in a char field of the Entity Developer's class

Posted: Fri 21 Oct 2011 14:17
by shaharw18
hi,

After starting to work with the Entity Developer.
I'm fetching some data from my Sqlite database.
one of the field in the table is from the type CHAR.
and I notice that it brings back wrong values.

instead of one single CHAR it brings something like: 0 '\0'.
I tried to check things the way I know them, and could'nt find the solution for why the value is wrong.


Shahar

some more info

Posted: Sun 23 Oct 2011 08:24
by shaharw18
hi,

I've tried to change the values in the table of the problematic field to '1'.
and still it brings back values like '1 '''.
the problem is in only one field the other fields brings back the right values.


is there anything that can be done, to solve this. I'm stuck with this project.
and realy want to use your technology.



Shahar.

Posted: Mon 24 Oct 2011 16:09
by StanislavK
Thank you for the report. We have reproduced the issue. We will analyze it and inform you about the results as soon as possible.

As a temporary workaround, you can map this column to string instead of char.

the solution

Posted: Tue 25 Oct 2011 08:10
by shaharw18
hi

I"ve replaced the char field to a boolean.
that solved for me the situation.


Shahar.