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

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
shaharw18
Posts: 43
Joined: Thu 20 Oct 2011 20:07

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

Post by shaharw18 » Fri 21 Oct 2011 14:17

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

shaharw18
Posts: 43
Joined: Thu 20 Oct 2011 20:07

some more info

Post by shaharw18 » Sun 23 Oct 2011 08:24

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.

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Mon 24 Oct 2011 16:09

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.

shaharw18
Posts: 43
Joined: Thu 20 Oct 2011 20:07

the solution

Post by shaharw18 » Tue 25 Oct 2011 08:10

hi

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


Shahar.

Post Reply