摘要:
MybatisUntil public class MybatisUntil { private static SqlSessionFactory sf = init(); public static SqlSessionFactory init(){ String resource = "myba 阅读全文
摘要:
实体Emp private int empno; private String ename; private String job; private Integer mgr; private Date hiredate; private Double sal; private Double comm 阅读全文
摘要:
配置: 拦截登陆 <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://stru 阅读全文
摘要:
配置 <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan 阅读全文
摘要:
映射文件 <?xml version="1.0" encoding="utf-8"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN""http://hibernate.sourceforg 阅读全文
摘要:
配置: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE configurationPUBLIC "-//mybatis.org//DTD Config 3.0//EN""http://mybatis.org/dtd/mybatis-3-config.d 阅读全文