摘要:
java:comp/env/jdbc/jboa 在tomcat下的context.xml添加--数据库连接 阅读全文
摘要:
... 阅读全文
摘要:
添加tx和context1,首先,将action,service,dao所有层的所有类整到容器里面;在Dao上 @Respository("employeeDao"),去掉继承HibernateDaoSupport 添加privateHibernateTemplatehibernateTemp... 阅读全文
摘要:
classpath:jdbc.properties 现在常用的开源数据连接池主要有c3p0、dbcp和proxool三种,其中:hibernate开发组推荐使用c3p0;spring... 阅读全文