What is a validationQuery with respect to databases and JNDI?
问题 I seem to be having the same exact problem as the poster of this original SO question. The problem is, he answered his own question with the following comment: I solved my problem, I added a validationQuery to my JNDI datasource. Unfortunately, that doesn't mean anything to me, and doesn't help me solve my problem. So I ask: what is a " validationQuery " with respect to my database (Sybase) and the JNDI entry used to hold the server lookup info? Thanks in advance. 回答1: The validation query is