Featured Products
Omegabundle for Xojo 2024 Products

An alternative system for working with SQL databases in Xojo.

Our MBS Xojo SQL Plugin is an alternative database interface to Xojo. It can be used either with the database class (via SQLDatabaseMBS class) or with our own SQLConnectionMBS class which gives more options.

 

  • Connect to 14 different database systems directly without the need for ODBC.
    • Access databases where no plugin comes with Xojo: DB2, Sybase, SQL Anywhere, Informix, DuckDB, Firebird and Interbase.
    • Connect to SQL databases in multithreaded mode for better GUI responsibility.
    • Connect to MongoDB via the mysql interface of MongoDB Connector for BI or check out our MongoDB plugin classes.
    • Use MySQL with Enterprise, Community or embedded libraries.
    • Connect to Microsoft SQL Server without installing native client using OLEDB option.
    • Use your own copy of the native connector library.
    • Use SQLCipher library with Xojo, a version of SQLite with built in encryption.
    • Built-in SQLite library with SQLite Encryption Extension. Compatible to Xojo's encrypted databases and offering AES 128, 256 and RC4 encryption.
    • Built-in CubeSQL client library with SSL and AES support.
  • Prepared Statements improved
    • Bind parameters to prepared statements by name instead of index.
    • Binding type is optional on prepared statements.
    • Bind using variants or dictionary with values.
    • Inspect bound values in debugger.
  • Improved performance
    • Depending on what you do with your database our plugins can be magnitudes faster!
    • Transfer rows in bulk mode to reduce network traffic and increase speed.
    • Perform SQL queries and SQL commands in multithreaded mode for better GUI responsibility.
    • Handle blob values with more than one GB of size by streaming in chunks.
  • Integrated for Xojo
    • Works with Xojo with iOS, Web, Desktop and Console.
    • Can provide RecordSets for use with Xojo reports engine.
  • Extra features
    • Use SpatiaLite library with Xojo.
    • Use API for online Backups in SQLite.
    • Supports moving forward/backword, first and last in result sets.
    • We ping the servers regularly to keep connection alive.

The MBS Xojo SQL Plugin is a Xojo plugin for accessing multiple SQL databases (CubeSQL, Centura SQLBase, DB2, DuckDB, Firebird, Informix, InterBase, MariaDB, Microsoft Access, Microsoft SQL Server, MySQL, ODBC, Oracle Database Server, PostgreSQL, SQL Anywhere, SQLite, SQLCipher and Sybase). It uses native APIs of target DBMS so applications developed with this plugin run swiftly and efficiently. The product also provides a low-level interface that allows developers to access database-specific features. By encapsulating a vendor's API, the plugin acts as middleware and delivers database portability. See details on supporting SQL database servers on different platforms:

Server Windows MacOS and Linux
Oracle Database Server  Supported (OCI) Supported (OCI)
Microsoft SQL Server Supported (DB-Library, OLE DB) FreeTDS ODBC driver should be used
Sybase Supported (Open Client, ASE & ASA) Supported (Open Client, ASE & ASA)
DB2 Supported (DB2 CLI) Supported (DB2 CLI)
Informix Supported (Informix CLI) Supported (Informix CLI)
Firebird Supported Supported
InterBase Supported Supported
Centura (formerly Gupta) SQLBase Supported (CAPI) Supported (CAPI)
MySQL / MariaDB Supported (MySQL C API)  Supported (MySQL C API)
PostgreSQL Supported (libpq) Supported (libpq)
ODBC Supported Supported (iODBC, see www.iodbc.org)
SQLite Supported Supported
SQLite Encrypted Supported Supported
SQL Anywhere Supported Supported
CubeSQL Supported Supported

 

Connect to Microsoft Access, Claris FileMaker Server (or Pro), Microsoft Visual FoxPro and others via ODBC. Connect to MongoDB via the mysql interface of MongoDB Connector for BI or check out our MongoDB plugin classes.

We have two interfaces in this plugin. SQLConnectionMBS is the native one and gives more flexibility. There is also SQLDatabaseMBS for easier porting of existing projects to our SQL Plugin. As SQLDatabaseMBS class is a subclass of the Database class, it may require a Xojo Database Server license to use (this depends on the exact rules Xojo, Inc. sets).

As with Xojo, the SQLConnectionMBS class works without a Database Server license. For the SQLDatabaseMBS class you need the Database Server license as it is a subclass for the database class.

Works with MacOS, iOS, Windows and Linux for Desktop, Mobile, Console and Web.

You do not need to compile or provide your own SQLAPI library as the plugin contains SQLAPI. You may need database access libraries from the database vendors.

Xojo Developer Magazine Articles

  • The MBS SQL Plugin in issue 14.1

Watch tutorial videos:

Thumbnail MBS SQL Plugin Presentation

(English)

18:29 minutes

 

 

If you order OmegaBundle 2024, you receive either a new license or an additional year on an existing license.