GNOME Data Access manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
GdaConnection* gda_connection_new (GdaClient *client, GNOME_Database_Connection corba_cnc, const gchar *dsn, const gchar *username, const gchar *password); |
This function creates a new GdaConnection object. It is not intended to be used directly by applications (use gda_client_open_connection instead).
client : | a GdaClient object. |
corba_cnc : | a CORBA GNOME::Database::Connection object. |
dsn : | GDA data source to connect to. |
username : | user name to use to connect. |
password : | password for username. |
Returns : | a newly allocated GdaConnection object. |
void gda_connection_add_error_list (GdaConnection *cnc, GList *error_list); |
GList* gda_connection_execute_command (GdaConnection *cnc, GdaCommand *cmd, GdaParameterList *params); |
gboolean gda_connection_begin_transaction (GdaConnection *cnc, const gchar *id); |
gboolean gda_connection_commit_transaction (GdaConnection *cnc, const gchar *id); |
gboolean gda_connection_rollback_transaction (GdaConnection *cnc, const gchar *id); |
typedef enum { GDA_CONNECTION_FEATURE_TRANSACTIONS = GNOME_Database_FEATURE_TRANSACTIONS } GdaConnectionFeature; |
gboolean gda_connection_supports (GdaConnection *cnc, GdaConnectionFeature feature); |
typedef enum { GDA_CONNECTION_SCHEMA_AGGREGATES = GNOME_Database_Connection_SCHEMA_AGGREGATES, GDA_CONNECTION_SCHEMA_FIELDS = GNOME_Database_Connection_SCHEMA_FIELDS, GDA_CONNECTION_SCHEMA_INDEXES = GNOME_Database_Connection_SCHEMA_INDEXES, GDA_CONNECTION_SCHEMA_PROCEDURES = GNOME_Database_Connection_SCHEMA_PROCEDURES, GDA_CONNECTION_SCHEMA_TABLES = GNOME_Database_Connection_SCHEMA_TABLES, GDA_CONNECTION_SCHEMA_TRIGGERS = GNOME_Database_Connection_SCHEMA_TRIGGERS, GDA_CONNECTION_SCHEMA_TYPES = GNOME_Database_Connection_SCHEMA_TYPES, GDA_CONNECTION_SCHEMA_VIEWS = GNOME_Database_Connection_SCHEMA_VIEWS } GdaConnectionSchema; |
GdaDataModel* gda_connection_get_schema (GdaConnection *cnc, GdaConnectionSchema schema, GdaParameterList *params); |