Home | Previous Page | Next Page   Database Access > Working with XA-Compliant External Data Sources > 3 3 3

Creating User-Defined XA-Support Routines

3

You can 3create user-defined XA-support routines, such as xa_open( ), xa_start( ), xa_prepare( ), xa_rollback( ), xa_commit( ), xa_recover( ), xa_complete( ), xa_forget( ), xa_close( ), 3and xa_end( ). These purpose functions, 3which are described in this section, are used for transaction management.

3

You use these functions when you create new XA data source types 3for external XA-compliant data sources.

3

3 3
Important:
3
Even though Dynamic Server does not call all of the routines 3described in this section, you must have the routines to use as 3parameters when you create an XA data source type. In the CREATE 3XADATASOURCE TYPE statement, all of the parameters are mandatory. 3For an example of the CREATE XADATASOURCE TYPE statement, see Creating an XA Data Source Type.
3

There is no reason to invoke these functions directly from SQL 3or from user-defined routines.

3

The functions that you create must follow X/Open XA standards.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]