I have a problem when implementing:

gda_prepare_insert_row

and

gda_append_insert_row

For the first, now it creates correctly the required GdaStatement and
returns a GdaBatchStatement.

Bur for the second one, I found that *gda_set_set_holder_value* doesn't
accept GValue* to set the required Holder, but the value, then for my
porpouse I want to use this functions with GValues in order to now the
values to set to the holder. I have two options:


1. Use GValue and gets its internal value to use with
*gda_set_set_holder_value*

2. Append a new *gda_set_set_holder_value_from_value* to GdaSet in order to
this job directly

What do you think?


2008/12/29 Daniel Espinosa <[email protected]>

>
>
> 2008/12/29 Vivien Malerba <[email protected]>
>
>
>>
>> 2008/12/28 Daniel Espinosa <[email protected]>
>>
>>> Sorry again I missed the file (its the time :-)
>>>
>>> 2008/12/28 Daniel Espinosa <[email protected]>
>>>
>>> For GType to String and String to GType I found the following:
>>>>
>>>> gda_g_type_from_string
>>>>
>>>> This function doesn't use the standard g_type_from_name and the name of
>>>> the string it checks doesn't correspond with the standard g_type_name
>>>> retuning string
>>>>
>>>> gda_g_type_to_string
>>>>
>>>> This function use the standard g_type_name, but the above don't.
>>>>
>>>> But even after applying the attached PATCH (its a mix with the
>>>> GdaBatchStatement) the error doesn't desapear:
>>>>
>>>>
>>>> *Could not determine GType for parameter '2+:string:N'*
>>>
>>>
>> The correct syntax is <param_name>[::<type>[::NULL]]
>>
>> Also the patch you sent me does not include the gda-batch-statement.[ch]
>> files.
>>
>> Thanks,
>>
>> Vivien
>>
>>
>>
> Thanks, for your help.
>
> Find attached the required .ch files, sorry for the inconvenience.
>
>
> --
> Trabajar, la mejor arma para tu superación
> "de grano en grano, se hace la arena" (R) (en trámite, pero para los
> cuates: LIBRE)
>



-- 
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates:
LIBRE)
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list

Reply via email to