GdaConnection

Name

GdaConnection -- 

Synopsis



struct      GdaConnectionPrivate;
struct      GdaClient;
GdaConnection* gda_connection_new           (GdaClient *client,
                                             GNOME_Database_Connection corba_cnc,
                                             const gchar *cnc_string,
                                             const gchar *username,
                                             const gchar *password);
gboolean    gda_connection_close            (GdaConnection *cnc);
GdaClient*  gda_connection_get_client       (GdaConnection *cnc);
void        gda_connection_set_client       (GdaConnection *cnc,
                                             GdaClient *client);
const gchar* gda_connection_get_string      (GdaConnection *cnc);
const gchar* gda_connection_get_username    (GdaConnection *cnc);
const gchar* gda_connection_get_password    (GdaConnection *cnc);
void        gda_connection_add_error        (GdaConnection *cnc,
                                             GdaError *error);
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);
enum        GdaConnectionFeature;
gboolean    gda_connection_supports         (GdaConnection *cnc,
                                             GdaConnectionFeature feature);
enum        GdaConnectionSchema;
GdaDataModel* gda_connection_get_schema     (GdaConnection *cnc,
                                             GdaConnectionSchema schema,
                                             GdaParameterList *params);

Description

Details

struct GdaConnectionPrivate

struct GdaConnectionPrivate;


struct GdaClient

struct GdaClient {
	BonoboObject object;
	GdaClientPrivate *priv;
};


gda_connection_new ()

GdaConnection* gda_connection_new           (GdaClient *client,
                                             GNOME_Database_Connection corba_cnc,
                                             const gchar *cnc_string,
                                             const gchar *username,
                                             const gchar *password);

client : 
corba_cnc : 
cnc_string : 
username : 
password : 
Returns : 


gda_connection_close ()

gboolean    gda_connection_close            (GdaConnection *cnc);

cnc : 
Returns : 


gda_connection_get_client ()

GdaClient*  gda_connection_get_client       (GdaConnection *cnc);

cnc : 
Returns : 


gda_connection_set_client ()

void        gda_connection_set_client       (GdaConnection *cnc,
                                             GdaClient *client);

cnc : 
client : 


gda_connection_get_string ()

const gchar* gda_connection_get_string      (GdaConnection *cnc);

cnc : A GdaConnection object
Returns :the connection string used to open the given connection object.


gda_connection_get_username ()

const gchar* gda_connection_get_username    (GdaConnection *cnc);

cnc : 
Returns : 


gda_connection_get_password ()

const gchar* gda_connection_get_password    (GdaConnection *cnc);

cnc : 
Returns : 


gda_connection_add_error ()

void        gda_connection_add_error        (GdaConnection *cnc,
                                             GdaError *error);

cnc : 
error : 


gda_connection_add_error_list ()

void        gda_connection_add_error_list   (GdaConnection *cnc,
                                             GList *error_list);

cnc : 
error_list : 


gda_connection_execute_command ()

GList*      gda_connection_execute_command  (GdaConnection *cnc,
                                             GdaCommand *cmd,
                                             GdaParameterList *params);

cnc : 
cmd : 
params : 
Returns : 


gda_connection_begin_transaction ()

gboolean    gda_connection_begin_transaction
                                            (GdaConnection *cnc,
                                             const gchar *id);

cnc : 
id : 
Returns : 


gda_connection_commit_transaction ()

gboolean    gda_connection_commit_transaction
                                            (GdaConnection *cnc,
                                             const gchar *id);

cnc : 
id : 
Returns : 


gda_connection_rollback_transaction ()

gboolean    gda_connection_rollback_transaction
                                            (GdaConnection *cnc,
                                             const gchar *id);

cnc : 
id : 
Returns : 


enum GdaConnectionFeature

typedef enum {
	GDA_CONNECTION_FEATURE_TRANSACTIONS = GNOME_Database_FEATURE_TRANSACTIONS
} GdaConnectionFeature;


gda_connection_supports ()

gboolean    gda_connection_supports         (GdaConnection *cnc,
                                             GdaConnectionFeature feature);

cnc : 
feature : 
Returns : 


enum GdaConnectionSchema

typedef enum {
	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_TYPES = GNOME_Database_Connection_SCHEMA_TYPES,
	GDA_CONNECTION_SCHEMA_VIEWS = GNOME_Database_Connection_SCHEMA_VIEWS
} GdaConnectionSchema;


gda_connection_get_schema ()

GdaDataModel* gda_connection_get_schema     (GdaConnection *cnc,
                                             GdaConnectionSchema schema,
                                             GdaParameterList *params);

cnc : 
schema : 
params : 
Returns :