org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0];   
--- The error occurred in com/woyi/sms/reserve/domain/Reserve.xml.  
--- The error occurred while executing query.  
--- Check the   select GETDATE() date,tr.i_no no,tr.dt_dt reserveTime,tr.dt_come comeTime,tr.c_name name,tr.c_tel tel,trd.c_table num from trr_rese tr,trr_rese_detail trd where tr.i_no=trd.i_no and ({ fn LENGTH(tr.c_tel) } = 11)  and DATEDIFF([second],tr.dt_dt,GETDATE())>0 and DATEDIFF([second],tr.dt_dt,'2012-11-20 07:02:03')<0  .  
--- Check the SQL Statement (preparation failed).  
--- Cause: java.sql.SQLException: Connections could not be acquired from the underlying database!; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/woyi/sms/reserve/domain/Reserve.xml.  
--- The error occurred while executing query.  
--- Check the   select GETDATE() date,tr.i_no no,tr.dt_dt reserveTime,tr.dt_come comeTime,tr.c_name name,tr.c_tel tel,trd.c_table num from trr_rese tr,trr_rese_detail trd where tr.i_no=trd.i_no and ({ fn LENGTH(tr.c_tel) } = 11)  and DATEDIFF([second],tr.dt_dt,GETDATE())>0 and DATEDIFF([second],tr.dt_dt,'2012-11-20 07:02:03')<0  .  
--- Check the SQL Statement (preparation failed).  
--- Cause: java.sql.SQLException: Connections could not be acquired from the underlying database!
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:124)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:322)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:212)
at org.springframework.orm.ibatis.SqlMapClientTemplate.executeWithListResult(SqlMapClientTemplate.java:249)
at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:296)
at com.haozi.core.dao.IBatis.IBatisGenericDao.find(Unknown Source)
at com.haozi.core.dao.IBatis.IBatisEntityDao.find(Unknown Source)
at com.woyi.sms.reserve.service.ReserveService.getAll(Unknown Source)
at com.woyi.sms.reserve.service.ReserveService$$FastClassByCGLIB$$449697d2.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
at com.woyi.sms.reserve.service.ReserveService$$EnhancerByCGLIB$$cc32c78f.getAll(<generated>)
at com.woyi.sms.thread.CflReserveTimer$1.run(Unknown Source)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException: