|
|
Sponsor |
getting primary key values for inserted records?: msg#00246db.postgresql.jdbc
Hallo, I'am currently at the point, that after i insert a new Record in a ResultSet using insertRow() and using a serial for the primary key of the target table. Of course i do not call rs.updateInt(primaryKey), as the sequence does get me the new value automatically. However - even using rs.refreshRow() doesn't get me the values, just a requery of the ResultSet. What is the way to go here? Guido ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Patch to readd documentation, Kris Jurka |
|---|---|
| Next by Date: | Re: Connection problem, sandrine wamy wapet |
| Previous by Thread: | Connection problem, sandrine wamy wapet |
| Next by Thread: | Re: getting primary key values for inserted records?, Kris Jurka |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|