spring 3, hibernate, dbcp and derby connection issue
问题 I am using Spring 3, hibernate 3, derby 10.11 and apache DBCP2. I am using a dao(TestDao) to create the hibernate session factory. This DAO is auto-wired. I am getting the following exception when IOC is trying to instantiate the dao. package com.springtest.dao; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory