No there is not, because the query is not executed at compile time, only at
run time.
----- Original Message -----
From: Sunil Singh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 26, 2000 3:24 PM
Subject: database
> Here is a question..
> When we create a query string in a servlet or any
> other java program and use execute or executequery to
> run it, the object validation (whether the table
> exists or whether the column names are correct or
> whether it is a valid sql statement for the target
> database) takes place only at runtime. Is there any
> way this validation can be done at compile time.
> Thanks.
> Sunil
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html