hi,
iam getting exception (for duplicate key )displayed when i do ps.executeUpdate(); i ll get this duplicate key exception rarely.
but i dont want the whole eception to be displayed in the console. instead i want to display in single line. i want to display in single readable line
i am catching the exception but still before it comes to catch section it is throwing the exception stack trace in my console.
how to control this.
please help.