#1 2020-03-26 02:42:24

KevinChen
Member
Registered: 2016-09-10
Posts: 10

External database Test failed

Hi,

Two places need to be fixed:

1. TSQLDBConnectionProperties.ColumnTypeNativeToDB (SynDB.pas)

begin
  case DBMS of
  dOracle: ColumnTypeNativeToDBOracle; <-- should be "result := ColumnTypeNativeToDBOracle"
  ..... 
end;

2. TSQLASource, TSQLADest (SynTests)

  property SignatureTime; <-- should be "property SignatureTime: TTimeLog read fSignatureTime write fSignatureTime;
  property Signature; <-- should be "property Signature: RawUTF8 read fSignature write fSignature;

Offline

#2 2020-03-26 08:44:31

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

Re: External database Test failed

1. It is already there.
Check https://github.com/synopse/mORMot/blob/ … .pas#L5604

2. The getter/setter are defined in TSQLRecordSigned.
No need to add them.

So I don't understand what you mean.
Ensure you have the correct source code - latest revision.

Offline

#3 2020-03-26 11:34:07

KevinChen
Member
Registered: 2016-09-10
Posts: 10

Re: External database Test failed

Oops, seems I was late for latest commit. The problem is solved. Thanks.

Offline

#4 2020-03-26 16:14:42

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

Re: External database Test failed

@ab, are you making changes on 2.0 version of mORMot too?

Offline

#5 2020-03-26 16:51:04

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

Re: External database Test failed

Yes, whatever is done is 1.18 is also backported in 2.0.

Offline

Board footer

Powered by FluxBB