How to create a database using ODAC

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ewen
Posts: 5
Joined: Wed 16 Nov 2011 10:08

How to create a database using ODAC

Post by ewen » Wed 16 Nov 2011 10:17

Now the code using DBE. like this.
TDatabase *db = new TDatabase( NULL );

So,How to create a database using ODAC?

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

Post by AlexP » Wed 16 Nov 2011 11:39

Hello,

The ODAC TOraConnection component corresponds to the BDE TDatabase component, and you can use the same code to create it:

TOraSession *db = new TOraSession(NULL);

ewen
Posts: 5
Joined: Wed 16 Nov 2011 10:08

Post by ewen » Thu 17 Nov 2011 06:01

It's works.
Thank you.

Post Reply