《Java操作数据库Spring(2).docx》由会员分享,可在线阅读,更多相关《Java操作数据库Spring(2).docx(5页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、pom.xml4. 0. 0TestDataBaseGroup2TestDataBaseArt2warl. 0-SNAPSH0TTestDataBaseArt Maven Webapp :/maven, apache. orgjunitjunit4. 12testcom. oracleojdbc6ll. 2. 0mysqlmysql-connector-java6. 0. 5org. springframeworkspring-webmvc4. 3. 4. RELEASEorg. springframeworkspring-orm4. 3. 4. RELEASEorg. springframe
2、workspring-aspects4. 3. 4. RELEASEorg. springframeworkspring-test4. 3. 4. RELEASEorg. springframeworkspring-context4. 3. 4. RELEASEorg. springframework. dataspring-data-jpal.10. 6.RELEASEorg. springframework. sessionspring-sessionl. 2. 2. RELEASEorg. springframework. dataspring-data-elasticsearch2.
3、0. 5. RELEASEorg. hibernatehibernate-core5. 2. 5. Finalorg. hibernatehibernate-c3p05. 2. 5. Finalch. qos. logbacklogback-classicl. 1. 8javax. servletservlet-api2. 5javax. servletjstll.2javax. injectjavax. injectlcom. h2databaseh2l. 4. 193net. sf. json-1ibjson-lib2. 3jdkl5OnlyMyTestweb.xml?xml versio
4、n=1.0 encoding二UTF-8?web-app xm l ns=/ : /xm l ns. jcp. org/xmL/ns/ javaee/zxmlns :xsi=,z :/ w3. org/2001/XMLSchema-instance/zxsi : schemaLocation=, : / / xml ns. jcp. org/xm 1 / ns/ javaee . jc p. org/xml/ns/javaee/web-app 3 1.xsdversion=3 1Archetype Created Web Applicationorg. springframework. web
5、. context. ContextLoaderListenercontextConfigLocationclasspath:applicationcontext. xml, classpath:daoContext. xml/context-parammvc-dispatcherorg. springframework. web. servlet. DispatcherServletcontextConfigLocationclasspath:mvc-dispatcher-servlet. xml/param-value)lmvc-dispatcher/servlet-name)/servl
6、et-mappingapplicationContext.xml?xml version=,l. 0,z encoding二UTF-8? beans xmlns: xsi= :/ w3. org/2001/XMLSchema-instance,zxmlns= : springframework, org/schema/beans,zxmlns:p= :/ springframework. org/schema/p/zxmlns:c= :/ springframework. org/schema/c,zxmlns:tx= :/ springframework, org/schema/txxmln
7、s: task=,. springframework, org/schema/taskz,xmlns :aop=, :/ springframework. org/schema/aop,zxmlns: context二. springframework. org/schema/context”xsi : schemaLocation=,z :/ springframework, org/schema/beans :/vvw. springframework. org/schema/tx :/ springframework. org/schema/aop :/ springframework. org/schema/aop/spring-aop-4. 0. xsd :/ springframework. org/schema/task :/ springframework. org/schema/task/spring-task-3. 1. xsd : springframework. org/schema/context :/ springframework, org/schema/context/spring-context.xsd
限制150内