一、xsd常用数据格式xs:stringxs:decimalxs:integerxs:booleanxs:datexs:time二、简易元素其中: xxx表示元素名称, yyy表示数据格式, aaa表示元素默认值,如果没有值,则元素值为aaa, bbb表示元素为固定值bbb,如果为其他值则报...
分类:
其他好文 时间:
2015-05-05 23:45:34
阅读次数:
154
本文上接SQL SERVER 2005/2008 中关于架构的理解(一)架构的作用与示例 用户与架构(schema)分开,让数据库内各对象不再绑在某个用户账号上,可以解决SQLSERVER2000及以前版本中“用户离开公司"问题,也就是在拥有该对象的用户离开公司,或离开该职务时,不必要大费周章地更改...
分类:
数据库 时间:
2015-05-05 23:29:02
阅读次数:
234
限定(restriction)用于为 XML 元素或者属性定义可接受的值一、xsd中主要限定格式如下: 二、限定方式xsd的限定主要通过以下方式 1、针对整形,使用元素minInclusive限定下限,使用maxInclusive限定上限...
分类:
其他好文 时间:
2015-05-05 23:20:33
阅读次数:
284
XML配置
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:s...
分类:
编程语言 时间:
2015-05-05 22:00:13
阅读次数:
207
Spring除了支持Schema方式配置AOP,还支持注解方式...
分类:
编程语言 时间:
2015-05-04 20:14:00
阅读次数:
142
xml头文件 xmlns:context="http://www.springframework.org/schema/context"扫描包:注解:@Scope("prototype")@Component("userDao")public class UserDao类似: 1.@Reposito...
分类:
编程语言 时间:
2015-05-04 20:09:57
阅读次数:
131
select column_name,column_comment from INFORMATION_SCHEMA.columns where table_name='my_table';或者show full columns from my_table其中my_table为具体的表名。
分类:
数据库 时间:
2015-05-03 15:55:10
阅读次数:
142
本人建议玩code frist的人多用用System.ComponentModel.DataAnnotations和System.ComponentModel.DataAnnotations.Schema这个里面的特性来写实体类现在进入正题,怎么打破原先外键的命名规则呢[Table("sys_Use...
分类:
其他好文 时间:
2015-05-03 14:31:54
阅读次数:
124
springMVC配置用法的文章很多,但具体描述清楚的不多,这里主要介绍下常用的配置项的用法,以及它的解析类,springMVC处理内容有两种方式,一种是converter,另一种是ViewResolver,两种都能处理json,xml以及form内容格式。
<beans xmlns="http://www.springframework.org/schema/beans"...
分类:
编程语言 时间:
2015-05-03 12:07:04
阅读次数:
266