Обсуждение: update custom types via resultset

Поиск
Список
Период
Сортировка

update custom types via resultset

От
Robert Wimmer
Дата:
My question is - is there a possibility to update or insert user defined types in a table via a resultset.

for example :

CREATE TYPE t0type AS (a INT PRIMARY KEY, b INT );
CREATE TABLE t1 (id INT, t0 t0type);


id like to avoid java commands like

query = "UPDATE t1 (t0).a = 12, (t0).b WHERE id = 23";

i would prefer to use the resultset syntax like

rs.update??("t0",??)

or is there any workaround

thanks Sepp
_________________________________________________________________
Jetzt 30 Gratis-Emoticons für Windows Live Messenger downloaden!
http://www.livemessenger-emoticons.com/de-at/