摘要:
BeanFactory applicationContext = new ClassPathXmlApplicationContext("bean.xml"); dataSource = (DataSource)applicationContext.getBean("dataSource"); try{ Connection conn = dataSource.getConnection(); conn.createStatement().executeUpdate("insert into user1(name,passwd)values(& 阅读全文
posted @ 2012-11-08 16:11
SA高处不胜寒
阅读(163)
评论(0)
推荐(0)

浙公网安备 33010602011771号