Re: jdbc question

From: Chris Uppal (chris.uppal_at_metagnostic.REMOVE-THIS.org)
Date: 12/29/04


Date: Wed, 29 Dec 2004 15:11:35 -0000

jmt wrote:

> Using JDBC , what would be a more elegant way of determining whether or
> not a record already exists in a DB table before inserting it?

Just attempt to insert it and catch and recover from the error (if any).

    -- chris