appfuse连接Oracle Could not open Hibernate Session for transaction

Exception sending context initialized event to listener instance of class com.ciecc.webapp.listener.StartupListener
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(

Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

validationQuery 值为 select 1+1

<jdbc.validationQuery>select 1 from dual</jdbc.validationQuery>
已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页