StdbMysqlImpl

Description

A MySQL Implementation of the Stdb APIThis is an implementation of the database connectivity API defined in theStdb-Corepackage. It uses the MySQL protocol driver inStdbMysqlProcolprojectSee also:StdbCore(required),StdbMysqlProtocol(required)Features:ImplementsStdbCoreAPI facilities like connection, prepared statement, metadata, resultset and so onTransaction facilitiesPrepared statement is implemented as server side statements in MySQLCursor based row fetch option from the server with configurable fetch sizeNon cursor based row fetch for collecting all rows in the result setAutomatic mapping of row data into native Smalltalk typesOption to retrieve rows as strings instead of using native Smalltalk typesExceptions on protocol level error responses from the server with SQL state informationKnown limitations:Do not run the unit tests in MySQL strict mode. Some tests depend upon generating warning conditions and loose type conversions, and will fail in strict mode.The underlying protocol driver is capable of handle multiple responses (e.g., result sets), although the API level implementation does not expose this capability yet.No API level implementation of the callable statement. This is planned for the future. Meanwhile one can use the connection's sql execution facility to call stored procedures.The metadata API is limited to result set metadata only. No database level metadata facility is available at present.The SQLError exceptions are not subdivided further into fine grained exception categories based upon SQL state.Packages required:Stdb-Core: This provides the API defintions and delegates the implementations.Stdb-MysqlImpl: The MySQL implementation of the Stdb API. This is an adapter to the underlying protocol driver.Stdb-MysqlProtocol: The MySQL client server wire protocol implementation.Package Loading Dependencies:Stdb-MysqlImpl requires the Stdb-Core package and the Stdb-MysqlProtocol package, since it uses (a) the API classes from the core, and (b) the MyS

Details

Source
SqueakSource

Categories

Database Testing System / OS Concurrency
← Back to results