欢迎来到天天文库
浏览记录
ID:12940479
大小:29.50 KB
页数:9页
时间:2018-07-19
《三大框架这么整合(the three frameworks are so integrated)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、三大框架这么整合(Thethreeframeworksaresointegrated)Step1:importSSHrelatedjarpackagesanddatabasejarpackagesThesecondstep:writingconfigurationfiles1.writethespingconfigurationfile>2、ww.w3.org/2001/XMLSchema-instance","xmlns:context=","http://www.springframework.org/schema/context""Xmlns:tx="http://www.springframework.org/schema/tx""Xsi:schemaLocation="http://www.springframework.org/schema/beans"Http://www.springframework.org/schema/beans/spring-beans-2.5.xs3、dHttp://www.springframework.org/schema/contextHttp://www.springframework.org/schema/context/spring-context-2.5.xsdHttp://www.springframework.org/schema/txHttp://www.springframework.org/schema/tx/spring-tx-2.5.xsd>Thescanningtubeassembly4、-package="com.sls"/>6、me="username"value="${jdbc.username}"/>7、annotation.AnnotationSessionFactoryBean""Id="sessionFactory">org.hibernate.dialect.MySQL5Dialecttrue8、rnate.format_sql",>true
2、ww.w3.org/2001/XMLSchema-instance","xmlns:context=","http://www.springframework.org/schema/context""Xmlns:tx="http://www.springframework.org/schema/tx""Xsi:schemaLocation="http://www.springframework.org/schema/beans"Http://www.springframework.org/schema/beans/spring-beans-2.5.xs
3、dHttp://www.springframework.org/schema/contextHttp://www.springframework.org/schema/context/spring-context-2.5.xsdHttp://www.springframework.org/schema/txHttp://www.springframework.org/schema/tx/spring-tx-2.5.xsd>Thescanningtubeassembly4、-package="com.sls"/>6、me="username"value="${jdbc.username}"/>7、annotation.AnnotationSessionFactoryBean""Id="sessionFactory">org.hibernate.dialect.MySQL5Dialecttrue8、rnate.format_sql",>true
4、-package="com.sls"/>6、me="username"value="${jdbc.username}"/>7、annotation.AnnotationSessionFactoryBean""Id="sessionFactory">org.hibernate.dialect.MySQL5Dialecttrue8、rnate.format_sql",>true
6、me="username"value="${jdbc.username}"/>7、annotation.AnnotationSessionFactoryBean""Id="sessionFactory">org.hibernate.dialect.MySQL5Dialecttrue8、rnate.format_sql",>true
7、annotation.AnnotationSessionFactoryBean""Id="sessionFactory">org.hibernate.dialect.MySQL5Dialecttrue8、rnate.format_sql",>true
8、rnate.format_sql",>true
此文档下载收益归作者所有