Spring-xml
深蓝22
懒啊。。。
展开
-
Hibernate orm元数据的配置方法 User.hbm.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">原创 2018-12-29 15:36:44 · 307 阅读 · 1 评论 -
ServiceImpl extends HibernateDaoSupport 查询语句
applicationContext.xml Dao 注入 SessionFactory <!-- dao --> <bean name="stockDao" class="com.tz.dao.impl.StockDaoImpl" scope="prototype" > <!-- <property name="dataSource&qu原创 2018-12-29 15:35:40 · 524 阅读 · 1 评论 -
Spring看applicationContext.xml的配置
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframewo原创 2018-12-29 15:35:22 · 423 阅读 · 1 评论