Changes between Version 17 and Version 18 of SQL


Ignore:
Timestamp:
Oct 3, 2013, 2:33:35 PM (8 years ago)
Author:
vadim.godunko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SQL

    v17 v18  
    1111
    1212API contains two packages. The [browser:trunk/matreshka/source/sql/sql-databases.ads SQL.Databases] package provides SQL_Database type to connect to database server and manage transactions, and the [browser:trunk/matreshka/source/sql/sql-queries.ads SQL.Queries] package provides SQL_Query type to prepare, bind, execute queries and retrieve results.
     13
     14== Thread safety ==
     15
     16It is safe to use SQL_Database object and associated SQL_Query objects from any task (thread) till non of them are accessed simultaneously. So, SQL_Database and SQL_Query objects can be created in one thread and used in another, but any objects can't be used from different threads in the same time.
     17
     18It is application's responsibility to protect object from access from different threads.
    1319
    1420== Example ==