Re: jdbc question
From: Chris Uppal (chris.uppal_at_metagnostic.REMOVE-THIS.org)
Date: 12/29/04
- Next message: David Rabinowitz: "Re: Problem using ant to compile BlackBerry project"
- Previous message: Chris Uppal: "Re: solving java.lang.ClassFormatError: Field "has inconsistent hierarchy" in class"
- In reply to: jmt: "jdbc question"
- Next in thread: Virgil Green: "Re: jdbc question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: David Rabinowitz: "Re: Problem using ant to compile BlackBerry project"
- Previous message: Chris Uppal: "Re: solving java.lang.ClassFormatError: Field "has inconsistent hierarchy" in class"
- In reply to: jmt: "jdbc question"
- Next in thread: Virgil Green: "Re: jdbc question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]