Need help on performing database queries with a general query

Dear experts,

I have two issues

1)

I have developed a software which connects to Oracle database

performing and executing DDL/DML statements.

I am using a Jdbc thin oracle driver.

When i perform a wrong syntax query or say a query using invalid column.I get exception accordingly.However,I want to know if there is any way by which i can know the exact position where i am making error

just as an asterik(*) comes in sql plus in case of invalid column or so.

2)

Whenever i minimize software window (made of swing components)

and again maximize it.It takes almost 12 secs to be visible otherwise it remains white.Is swing that much slow ?

[705 byte] By [Adi1000a] at [2007-11-27 5:56:00]
# 1
(1) No.(2) It's possible to make Swing programs that slow. (I know, I have done it.) But usually the slowness is in application code (your code) and not in Swing itself.
DrClapa at 2007-7-12 16:25:39 > top of Java-index,Java Essentials,Java Programming...