Re: How to Insert the Row in ResultSet by moveToInsertRow() ... insertRow()?

From: vasylenko(at)uksatse(dot)org(dot)ua
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: How to Insert the Row in ResultSet by moveToInsertRow() ... insertRow()?
Date: 2007-01-10 13:31:38
Message-ID: OF8BE49163.18F072B1-ONC225725F.0048EBCA-C225725F.004A4EEF@UKCC.UKSATSE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

>Re-post:
>Such declaration like this
>
>id int4 NOT NULL DEFAULT nextval('seq_group_id'::regclass)
>and
>CONSTRAINT i_group PRIMARY KEY (id)
>
>give me the oportumity don't bother about unique value of id
>and use another query.
>
>INSERT INTO  groups(g_name) VALUES("new group");
>
>I hope to find the same easy way in using ResultSet's objects (), i.e. to
forget about id in my code until it nessesary for me and not for jdbc.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2007-01-10 13:32:30 Re:
Previous Message vasylenko 2007-01-10 13:26:06 Re: How to Insert the Row in ResultSet by moveToInsertRow() ... insertRow()?