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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…