***********************
Your mail has been scanned by
InterScan VirusWall.
***********-***********
On Mon, 17
Apr 2006, surabhi.ahuja wrote:
> The question is that is from this
SQLException can i detect if it is a
> foreign key
violation,
>
You should check the value of
SQLException.getSQLState() against this
table:
http://www.postgresql.org/docs/8.1/static/errcodes-appendix.html
Kris
Jurka