if you know it's likely to happen, then by definition it's not an exception. why don't you query the DB for existing PK prior persisting? ;-)
2008/11/6 Christian Sutjiady <[EMAIL PROTECTED]>: > hmm...kalo mau handle exception untuk PK constraint, ada yg bisa kasih saran > cara yg paling baik? baik secara code...baik dari segi performance. -- salam hangat, Thomas Wiradikusuma http://wiradikusuma.blogspot.com/2008/11/i-am-not-gay.html <-- IMPORTANT!

