Solved

What is the best component to use to convert the Delphi 3 BDE to Delphi 2010

Posted on 2010-09-02
13
574 Views
Last Modified: 2013-11-23
I have 2 apps written in Delphi 2 and 3. I need to convert them to Delphi 2010. What alternatives are there to the BDE that will work with oracle? I modify the sql statements in the code using modify/insert/update/delete.
0
Comment
Question by:zstafa
  • 4
  • 2
  • 2
  • +4
13 Comments
 
LVL 32

Expert Comment

by:ewangoya
ID: 33591695
You can use DBExpress or  DBGO components
They work fine
0
 
LVL 37

Accepted Solution

by:
Geert Gruwez earned 500 total points
ID: 33593823
if you want to fast components you can go with www.devart.com
they have really good database components > look for ODAC
0
 
LVL 13

Expert Comment

by:aflarin
ID: 33594320
I think DBExpress will be the best choice.

This links may help you:

http://edn.embarcadero.com/article/29106

Also you can try these components:

http://www.ethea.it/eng_instantbdexpress.asp
0
 

Expert Comment

by:AndrewB2
ID: 33602355
You could give Zeoslib a go - freeware and quite mature.
 http://zeos.firmos.at/portal.php
0
 
LVL 22

Expert Comment

by:senad
ID: 33655308
0
 
LVL 45

Expert Comment

by:aikimark
ID: 33655701
@zstafa

Are you looking for a component that you drop into your project, rename all BDE references to the new component and expect it to compile?  I doubt one exists.  The conversion will require some programming.  You must understand the BDE code as well as equivalent relational database methods.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Author Comment

by:zstafa
ID: 33659621
I am only looking for the the component that will give me the least problems during the conversion process. I am currently testing all of the proposed solutions and will be accepting soon. Thanks for all of your help.
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 33659914
it mostly depends on how the code is written

if you use query components directly from the palette is the least effort
to implement straight away.

However if you build a library/package around the components you want
and then use that library/package, you only need to change the base components in the library/package

sample libcode:

  TXQuery = class(TQuery)
  end;

in your code you would be using TXQuery instead of TQuery

If you wanted to  change to a other component (for whatever reason)

  TXQuery = class(TADOQuery)
  end;

or
  TXQuery = class(TIBQuery)
  end;

or
  TXQuery = class(TSQuery)  
  end;

it can happen that you need to redeclare some properties
because some components are not directly interchangeable
0
 
LVL 3

Author Comment

by:zstafa
ID: 33705369
I was told by a coworker that DBExpress is supposed to be used only for small applications and will not be fast enough for the data driven app that we have? Is this true? I am currently testing aflarin's solution and if this is the case then it wont work.... thanks
0
 
LVL 45

Expert Comment

by:aikimark
ID: 33706245
@zstafa

We need more information.  

1. What kind of database are you going to connect to?
2. Are you using a disconnected/briefcase model?
3. Where will the Delphi application reside in relation to the database? (network proximity)
4. What database drivers are you using?
5. On what data is your coworker basing his statements about dbExpress performance?
6. What are your performance requirements?
0
 
LVL 3

Author Comment

by:zstafa
ID: 33708689
1. Oracle 10
2. We are using a direct connection and storing pre-save changes in a paradox database
3. It's a WAN .... for example a large university
4. We are trying to make a decision on what to use
5. He is basing his information on stuff he read on the internet
6. I am looking for the best performance for an Oracle database

Thanks
0
 
LVL 3

Author Comment

by:zstafa
ID: 33718221
I have tested a bunch of components for database access in our environment on a complex query that returns about 9000 records. I ran each one 7 times and recorded the time from a button click to when the datasource was populated. here are the averages.

devartODAC - 12.039 seconds
AnyDAC - 12.059
SQLDirect - 12.201
DBGO - 14.713
AllRoundAutomations - 17.650
DBExpress(simpleDataSet) - 19.693
DBExpress(clientDataSet) - 25.855

and devartODAC has a BDE migration wizard. Still doing more testing, but I think I am norrowing it down.  Thanks to everyone.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now