Current Demo Project Mostly Generate Error

Discussion of open issues, suggestions and bugs regarding EntityDAC
Post Reply
Luthfi
Posts: 6
Joined: Fri 09 Jan 2015 13:39

Current Demo Project Mostly Generate Error

Post by Luthfi » Fri 09 Jan 2015 13:43

As the subject says, current demo project nearly always generates "[0x005]: Operation Not Supported" error. I know I have the source code and find the problem myself. But I think I will let you know.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Current Demo Project Mostly Generate Error

Post by AlexP » Mon 12 Jan 2015 08:54

Hello,

This error occurs when using dbExpress. This is an internal error of the dbExpress, and we can't affect this behavior. Try using another EntityProvider.

nenad
Posts: 3
Joined: Tue 15 Sep 2009 18:25

Re: Current Demo Project Mostly Generate Error

Post by nenad » Wed 14 Jan 2015 14:05

so your product is not working with dbexpress ?

As this is one of the features advertised on the compatibility page -
how can i know which other features are also not *really* working ..
:shock:

i was on the brink to buying it but now i think i will have to do a looong trial
before i can be sure that its really doing the things i need ...

edit:i wanted to add that i need it to work with firedac (postgres)
so if you have anything to say about how well they work ...

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Current Demo Project Mostly Generate Error

Post by AlexP » Thu 15 Jan 2015 09:28

This error is due to retrieving RecordCount (function TCustomSQLDataSet.GetRecordCount: Integer;). If the a query contains parameters, the '[0x0005]: Operation Not Supported' error will be generated. Since this is implementation of dbExpress, and we can't affect this behavior in any way.

This error will occur in any dbExpress driver when attempting to retrieve RecordCount if the query contains a parameter:

Code: Select all

  SQLQuery1.SQL.Text := 'SELECT * FROM EMP where empno = :p1';
  SQLQuery1.Open;
  ShowMessage(IntToStr(SQLQuery1.RecordCount));
This error will occur only when using dbExpress provider, and won't occur on using the other providers.

Post Reply