ssh
孤独的IT
理想主义
展开
-
ssh整合web.xml书写
http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd原创 2014-05-20 17:13:26 · 399 阅读 · 0 评论 -
ssh整合struts.xml的书写
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN" "http://struts.apache.org/dtds/struts-2.1.7.dtd"> WEB-INF/jsp/user/list.jsp WEB-INF/jsp/user/add.jsp WEB原创 2014-05-20 17:15:23 · 473 阅读 · 0 评论 -
ssh整合hibernate.xml的书写
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> org.hibernate.dialect.MySQLDialect jdbc:mysql://l原创 2014-05-20 17:17:19 · 303 阅读 · 0 评论 -
ssh整合application.xml文件的整合
http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/sc原创 2014-05-20 17:19:29 · 421 阅读 · 0 评论 -
hibernate映射oracle自增长
根据hibernate的文档,有两种方式实现实体对象的主键自动增长。 第一种:设置ID的增长策略是sequence,同时指定sequence的名字,最好每个表建一个sequence,此种做法就如同MS-SQL,MY-SQL中的自动增长一样,不需要创建触发器,具体的oracle数据库脚本及hibernate配置文件如下:oracle数据表的创建脚本:CREATE TABLE DEPART转载 2014-07-14 12:45:01 · 439 阅读 · 0 评论