It worked in UniDAC 5.2.5 and XE5 for both Android and iOS (also Win32).
Now with 5.5.12 in XE7 for Win32 is working but not for Android or iOS Simulator 7.1. With iOS device I have not tested yet.
This exception is for SQLite.
I receive this exception when I try to open metadata:
Project ****** raised exception class Exception with message 'SQL statement doesn't return rows'.
I have UniDAC sources but you changed the password so I can not debug. My developer license number is 01811. I suppose you have my email to send me the new password.
Code: Select all
procedure GetIndexNames(uc: TUniConnection; TableName: String; SList: TStringList);
var
meta: TDAMetaData;
begin
meta := uc.CreateMetaData;
try
meta.MetaDataKind := 'Indexes';
//some code to set TABLE_SCHEMA and TABLE_CATALOG for non SQLite servers
//.......
meta.Restrictions.Values['TABLE_NAME'] := OnlyTableName;
meta.Open;//<------- here is the exception raised
System._DbgExcNotify(0,$190C0FD0,$1314EAF {'Exception'},$9ECDE3,nil)
System.NotifyReRaise
:00018c47 NotifyReRaise + $13
:009ecde3 TSQLiteRecordSet.CreateFieldDescs + $8F
:00742051 TData.InternalInitFieldDescs + $99
:0082dd47 TCRRecordSet.InternalInitFieldDescs + $2F
:007405c9 TData.InitFields + $25
:0082cea1 TCRRecordSet.ExecFetch + $61
:0073fb79 TData.Open + $45
:009f120f TSQLiteMetaData.GetIndexes + $15F
:00834977 TCRMetaData.InternalGetMetaData + $16F
:00834779 TCRMetaData.GetMetaData + $A5
:00802e76 TDAMetaData.InternalOpen + $7A
Data.DB.TDataSet.DoInternalOpen
:00623d0c TDataSet.DoInternalOpen + $2C
Data.DB.TDataSet.SetActive(True)
Data.DB.TDataSet.Open