#1 2016-02-05 14:36:00

chronisvel
Member
Registered: 2016-01-01
Posts: 8

Connection to oracle

Based on the MVC demo, connection to SQLITE3 is achieved by this (simplified by me) code:
  aModel := CreateModel;
  aServer := TSQLRestServerDB.create(aModel,ChangeFileExt(ExeVersion.ProgramFileName,'.db'));
  aServer.DB.Synchronous := smNormal;
  aServer.DB.LockingMode := lmExclusive;
  aServer.CreateMissingTables;
  aApplication := TMyMVCApplication.Create;
  aApplication.Start(aServer);
...

How can I connect to an ORACLE server instead?

Offline

#2 2016-02-05 19:36:43

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Connection to oracle

Offline

#3 2016-02-08 12:00:53

chronisvel
Member
Registered: 2016-01-01
Posts: 8

Re: Connection to oracle

ab wrote:

Thank you!

Offline

Board footer

Powered by FluxBB