Jump to content

Dmitry Arefiev

Members
  • Content Count

    160
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Dmitry Arefiev

  1. Dmitry Arefiev

    FireDAC and pooling random error

    When FDQuery's use ConnectionName, then single temporary TFDConnection will be created transparently and used by all FDQuery's, etc
  2. Dmitry Arefiev

    Migration from BDE paradox to TFDtable or other options

    FireDAC TFDTable emulates BDE/Paradox TTable behavior using LDW mode. This is expensive, and disabling LDW mode will improve performance. More info: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Browsing_Tables_(FireDAC) But anyway, you will never get 100% similar performance to BDE/Paradox TTable with big tables. Any TxxxTable will request DB server and will fetch the data. When data is fetched, then operations will be fast and similar to TTable.
  3. Dmitry Arefiev

    Problems changing database with pooled connection

    Yes, it is. But you can use always full object (table) name.
  4. Dmitry Arefiev

    Problems changing database with pooled connection

    Other option is to use TFDManager.CloseConnectionDef http://docwiki.embarcadero.com/RADStudio/Sydney/en/Multithreading_(FireDAC)#Connection_Pooling
  5. Dmitry Arefiev

    Problems changing database with pooled connection

    FDManager.Active := False; // change what you need
  6. Dmitry Arefiev

    TFDQuery - Query all databases on a server

    Q3 at http://docwiki.embarcadero.com/RADStudio/Sydney/en/TFDQuery,_TFDStoredProc_and_TFDUpdateSQL_Questions
  7. Dmitry Arefiev

    Firedac - Sqlite - DateTime field

    Most right way will be to create an issue at quality.embarcadero.com. And attach the DB file with the words explaining what you did. I would expect, dates were inserted using format not supported by FireDAC.
  8. Dmitry Arefiev

    Firedac - Sqlite - DateTime field

    Sorry for spamming, dont know how it happened ...
  9. Dmitry Arefiev

    Firedac - Sqlite - DateTime field

    You have to read: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_SQLite_with_FireDAC#SQLite_Data_Types http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_SQLite_with_FireDAC#Adjusting_FireDAC_Mapping
  10. Dmitry Arefiev

    Firedac - Sqlite - DateTime field

    You have to read: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_SQLite_with_FireDAC#SQLite_Data_Types http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_SQLite_with_FireDAC#Adjusting_FireDAC_Mapping
  11. May be this will help: https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-wi
  12. 1) If server is publicly accessible, please, log this issue to quality.embarcadero.com and attach simple test project. If there is some sensitive information, which you dont want to share publicly, then let me know. We can exchange it privately. 2) Otherwise, you can try to analyze the server using https://www.ssllabs.com/ssltest/ This may give some hints.
  13. Try to leave only TLS v 1.1 and 1.2 in SecurityProtocols.
  14. Please report this issue to quality.embarcadero.com, and get it fixed in 10.4 Update 1.
  15. Dmitry Arefiev

    Up-to-date 32 bit libmysql.dll?

    Start from this link: https://dev.mysql.com/downloads/c-api/
  16. This will be fixed in 10.4 Update 1.
  17. https://quality.embarcadero.com/browse/RSP-28886 try to run: sudo apt-get install curl
  18. Dmitry Arefiev

    Revisiting TThreadedQueue and TMonitor

    Thanks a lot ! The proposed here changes will be in 10.4 Update 1 with some modifications. Mostly due to new cross-platform AtomicCmpExchange128 for 64bit platforms.
  19. This is known issue: https://quality.embarcadero.com/browse/RSP-19708
  20. Dmitry Arefiev

    FireDac MySQL Connectivity

    1. libmysql.dll must be in EXE folder, or in some folder which is in PATH, or in SysWOW64 for x86 and System for x64. 2. libmysql.dll must have the same bitness as EXE. Simple way to verify it: tdump libmysql.dll | find "CPU type" 3. libmysql.dll v 8 is not yet supported. Use version 5 or 6. Which one - almost not important. 4. Note, that libmysql.dll, depending on version, depends on MS C RTL.
  21. You can try to do: FDUpdateSQL1.Commands[arInsert].CommandKind := skSelect;
  22. Dmitry Arefiev

    Why upgrade?

    Could you please provide RSP numbers. May be even you can provide your patch.
  23. Dmitry Arefiev

    FireDAC and read table metadata

    FDMetaInfoQuery1.MetaInfoKind := mkResultSetFields; FDMetaInfoQuery1.ObjectName := 'RESOURCE'; FDMetaInfoQuery1.Open;
  24. Dmitry Arefiev

    Why upgrade?

    Beside what @Vandrovnik said, Delphi with each one new version is getting more and more "green" (in the sense of Greenpeace, or energy class). What in past consumed N CPU cycles, now may consume less or much less. Want to make the World more green ? Upgrade your Delphi 🙂 PS: Of course, this is questionable statement. But it is true in many Delphi areas ...
  25. Dmitry Arefiev

    GetLastAutoGenValue

    For SQL Server the AName parameter usage is not specified.
×