使用情形1:写数据字典(Word文档)时,需要获取表结构,以加快书写速度,当然,前提是没有文档导出工具。使用情形2:生成实体时,前提也是没有代码生成工具。脚本SELECT A.COLUMN_NAME,CASE WHEN A.CHARACTER_MAXIMUM_LENGTH IS NULL THEN ...
分类:
其他好文 时间:
2014-10-13 01:02:08
阅读次数:
344
一 使用xml注入 xml中进行配置
重点说明:bean name 具有唯一性
xml
version="1.0"encoding="UTF-8"?>
beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan...
分类:
编程语言 时间:
2014-10-12 23:03:08
阅读次数:
358
(1)Xml配置(添加了加下划线部分)
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schem...
分类:
编程语言 时间:
2014-10-12 22:12:58
阅读次数:
297
In order to check XML data for validity we have to prepare its schema XSD-file. This file will be loaded by a JAXP package to a Schema objects instanc...
分类:
其他好文 时间:
2014-10-12 19:06:58
阅读次数:
169
Configure Java APIs (SAX, DOM, dom4j, XOM) using JAXP 1.3 to validate XML Documents with DTD and Schema(s).Many Java XML APIs provide mechanisms to va...
分类:
编程语言 时间:
2014-10-12 17:38:38
阅读次数:
395
有时候会见到一个操作进程占用了很多系统资源,此时需要弄清楚这个进程是在干什么,将红色标记的部分替换成操作系统进程id(PID)即可。selectdistinct‘-------------------------------------------‘||chr(10)||‘USERAME:‘||s.username||chr(10)||‘SCHEMA:‘||s.SCHEMANAME||chr..
分类:
系统相关 时间:
2014-10-11 19:16:16
阅读次数:
203
1、使用架构(XSD)验证XML文件 2、使用自动生成工具: 工具目录:C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools 工具名称:xsd.exe 使用帮助:生成xml架构文档xsd——>拷贝xml文件到工...
分类:
其他好文 时间:
2014-10-11 14:16:35
阅读次数:
176
Cobar是提供关系型数据库(MySQL)分布式服务的中间件,它可以让传统的数据库得到良好的线性扩展,并看上去还是一个数据库,对应用保持透明。产品在阿里巴巴稳定运行3年以上。接管了3000+个MySQL数据库的schema。集群日处理在线SQL请求50亿次以上。集群日处理在线数据流量TB级别以上。D...
分类:
数据库 时间:
2014-10-11 14:07:55
阅读次数:
252
<?xml?version="1.0"?encoding="UTF-8"?>
<beans?xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?xmlns:tx="http://www.springframework.or...
分类:
编程语言 时间:
2014-10-11 12:03:55
阅读次数:
160
It is possible to turn on XML Schema validation during parsing with a SAXParser. Here is how it looks:Schema schema = null;try { String language = XM....
分类:
编程语言 时间:
2014-10-10 23:51:54
阅读次数:
234