Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Conversion ADO to FireDAC

Posted on 2014-11-28
7
Medium Priority
?
1,685 Views
Last Modified: 2015-01-23
Hi,

With the new Delphi XE7 I would like to investigate if moving from ADO to FireDAC is a wise discission.
I'm using currently a MS SQL Server 2008 R2 SP2 database.

Does anybody have any experience with this merger?
Will this increase performance and stability (which might make it worth the effort)?
Is there some automation possible for existing project with lots of ADO-components?

Thanks!
0
Comment
Question by:Delphiwizard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 27

Expert Comment

by:Sinisa Vuk
ID: 40472577
Think - a speed is on FireDac side, but memory management not. With some little modification - ado can be a little faster:
http://edn.embarcadero.com/article/27790
Mida conversion tool can convert Ado to FireDac. But in basics - this is all the same. You can build some little test tools for speed comparison and see by yourself what is best for you. If you need memory table - then use FireDac - but for older projects - I would go with ado on.
Here is what other say about migration.
0
 

Author Comment

by:Delphiwizard
ID: 40473219
As I read the article, it looks like FireDAC 's speeds partly comes from the fact that it loads only 50 records at a time (based om OnDemand-setting). I've implemented such mechanism with ADO too, by fetching only f.e. TOP (50) records.

Memory table I already have from DevExpress.  Or does FireDAC support some different type of memory management?
0
 
LVL 38

Assisted Solution

by:Geert Gruwez
Geert Gruwez earned 2000 total points
ID: 40522603
fwiw, i had to halt my move to firedac.
It doesn't handle some russian letters. accents get lost

I got this sync setup between an oracle db and active directory and it misses out on some unicode letters
i started a discussion with embarcadero in september and still waiting on their response.
https://forums.codegear.com/message.jspa?messageID=667722#667722

this was XE6. not sure if the problem is fixed in XE7. haven't tried it yet.

i'm guessing they are trying to implement the next generation of unidac of devart or working together

currently no problem with odac of devart
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:Delphiwizard
ID: 40533018
I've asked Embarcadero as well, but they don't seem to have much experience in migration from ADO to FireDAC.
0
 
LVL 38

Assisted Solution

by:Geert Gruwez
Geert Gruwez earned 2000 total points
ID: 40533076
they should stop working on new versions like damn race horses and fix the bugs
there is more versions than there is solved bugs at the moment

Delphi 7 was a flagship, and they'll never come anywhere close to such a good version in the next decades.
Since then it's been going downhill with quality.
There were some very nice features included, but what's the use of those if they "work as designed, with lots of and lots of bugs" ?
0
 

Author Comment

by:Delphiwizard
ID: 40535473
Hi Geert I completely agree.
They seem to be fixated on creating new stuff, but spend less time on making the product bug-free. Some bugs are there in version after version.
0
 
LVL 38

Accepted Solution

by:
Geert Gruwez earned 2000 total points
ID: 40536356
I tried it and stepped away from it.
> moving from ADO to FireDAC is a wise discission.

no ... it's a dangerous decision
unless you want your clients or colleagues breathing down your neck
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In this article, we’ll look at how to deploy ProxySQL.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question