Skip site navigation (1) Skip section navigation (2)


From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: vasylenko(at)uksatse(dot)org(dot)ua
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re:
Date: 2007-01-10 13:32:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
What you are looking for is in hibernate, or some other high level  
persistence framework . In JDBC you have to do all the work.


On 10-Jan-07, at 8:16 AM, vasylenko(at)uksatse(dot)org(dot)ua wrote:

> Such declaration like this
> id int4 NOT NULL DEFAULT nextval('seq_group_id'::regclass)
> and
> 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.
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo(at)postgresql(dot)org so that  
> your
>        message can get through to the mailing list cleanly

In response to

  • at 2007-01-10 13:16:46 from vasylenko


  • Re: at 2007-01-10 14:26:55 from Andres Olarte

pgsql-jdbc by date

Next:From: Andres OlarteDate: 2007-01-10 14:26:55
Subject: Re:
Previous:From: vasylenkoDate: 2007-01-10 13:31:38
Subject: Re: How to Insert the Row in ResultSet by moveToInsertRow() ... insertRow()?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group