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:sch...
分类:
编程语言 时间:
2015-08-30 19:37:39
阅读次数:
208
注解(Annotation)在java中应用非常广泛。它既能帮助我们在编码中减少错误,(比如最常见的Override注解),还可以帮助我们减少各种xml文件的配置,比如定义AOP切面用@AspectJ模式代替Schema模式,特别是最近接触了一点Spring MVC,每次编写Controller的时...
分类:
编程语言 时间:
2015-08-29 23:03:22
阅读次数:
248
用工具pt-online-scheme-change执行添加字段是报错,提示超时,在凌晨反复执行几次后都是在创建触发器的时候超时退出了,表并不是很大大概1000w数据执行语句:pt-online-schema-change--user=root--password='xxxxxx'--host=12...
分类:
其他好文 时间:
2015-08-28 23:04:47
阅读次数:
175
select column_name, table_name from information_schema.columns where table_schema='yizhan' and column_name = 'phone';
分类:
数据库 时间:
2015-08-28 00:25:47
阅读次数:
207
p:命名空间: xmlns:p="http://www.springframework.org/schema/p" 作用:简化在xml配置bean的属性 在中使用p:属性名来配置 AOP:命名空间: xmlns:aop="http://www.springframework.org/schema/a...
分类:
编程语言 时间:
2015-08-27 14:53:26
阅读次数:
144
spring-mvc.xml
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/m...
分类:
移动开发 时间:
2015-08-26 22:36:36
阅读次数:
290
这里以spring的配置文件为例,代码如下
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
xsi:sch...
分类:
其他好文 时间:
2015-08-26 20:13:57
阅读次数:
239
本文参考:http://blog.csdn.net/kanon_lgt/article/details/5931522 ? ? ? ? ? ? ? ? ?http://blog.csdn.net/kanon_lgt/article/details/6220928 DB实例与schema: 模式是数据库实例的逻辑分割。 数据库...
分类:
数据库 时间:
2015-08-26 14:06:21
阅读次数:
2304
解决方法: 首先,查看数据库的进程信息: show full processlist; 在执行: SELECT * FROM information_schema.INNODB_TRX\G; 注意结果中的trx_mysql_thread_id部分的值 查找对应的id,然后kill id的值即可;...
分类:
数据库 时间:
2015-08-26 00:20:04
阅读次数:
147
beans-properties.xml
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst...
分类:
编程语言 时间:
2015-08-25 23:57:49
阅读次数:
381