TMySQLDialect - Boolean data type is not supported

TMySQLDialect - Boolean data type is not supported

Postby elion » Wed 23 Mar 2016 09:27

Hi there,

I have a MySQL table mapped through the EntityDeveloper. In the database table the column is TINYINT(1). The developer mapps it right as Boolean. But if I execute the folowing code, I get the error which is in the subject.

Code: Select all
    Query := Linq.From(FEntityContext['table']).Select;
    SomeData := FEntityContext.GetEntities<TTable>(Query);  // <------ here error


Can you help me please? Thank you!
elion
 
Posts: 29
Joined: Wed 10 Dec 2014 07:15

Re: TMySQLDialect - Boolean data type is not supported

Postby AlexP » Wed 23 Mar 2016 11:04

Hello,

We will add support for the Boolean type in the next version
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35

Re: TMySQLDialect - Boolean data type is not supported

Postby elion » Wed 23 Mar 2016 11:26

AlexP wrote:Hello,

We will add support for the Boolean type in the next version


When will come the next version?

What workaround could you recommend for the boolean data type?
elion
 
Posts: 29
Joined: Wed 10 Dec 2014 07:15

Re: TMySQLDialect - Boolean data type is not supported

Postby AlexP » Wed 23 Mar 2016 11:49

The new EntityDAC version will be released as soon as the new RAD Studio version is released. The new RAD Studio version is planned to be released shortly.
If you have a source version, we can tell you where to change the code to get the correct behavior.
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35

Re: TMySQLDialect - Boolean data type is not supported

Postby elion » Wed 23 Mar 2016 12:18

AlexP wrote:The new EntityDAC version will be released as soon as the new RAD Studio version is released. The new RAD Studio version is planned to be released shortly.
If you have a source version, we can tell you where to change the code to get the correct behavior.


Okay, thank you very much! I am trying a trial version, but if it fullfills all my needs, I will buy it!
elion
 
Posts: 29
Joined: Wed 10 Dec 2014 07:15

Re: TMySQLDialect - Boolean data type is not supported

Postby AlexP » Wed 23 Mar 2016 12:37

You are welcome. Feel free to contact us if you have any further questions.
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35


Return to EntityDAC