`
hehaibo
  • 浏览: 410834 次
  • 性别: Icon_minigender_1
  • 来自: 长沙
社区版块
存档分类
最新评论
文章列表
在java开发中,有些错误非常地奇怪,这些奇怪的错误中,有些是因为如下原因造成的: 1、系统使用的jar包版本冲突所导致的,比如有两个版本不一样但相同的包 2、系统使用的jar包版本过低(相对其他包而言) 今天就记录一个这样的错误,报错的信息为:   Failed to set setXIncludeAware(t rue) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@9260ee:java.lang.UnsupportedOperationException: This parser does not ...
select @@tx_isolation set global transaction isolation level REPEATABLE READ;  
http://hi.baidu.com/mesong1/item/da7ca2ccb637052de90f2e7a   http://linux.chinaunix.net/techdoc/system/2009/07/20/1125190.shtml   http://www.cnblogs.com/kupig/archive/2011/10/19/2217228.html   http://blog.csdn.net/yjj1s/article/details/6253140  http://book.51cto.com/art/200906/132448.htm 事务隔 ...
Deadlock found when trying to get lock; try restarting transaction   1213 - Deadlock found when trying to get lock; try restarting transaction出现这个原因要记住一点就是:innodb的行锁 和解锁都是针对主键索引的。如果查询时根据索引锁表,但更新时却不是通过主键更新,那么等待的解锁查询的进程将会报1213错误,程序里有可能返回一个null值实例:table soldgoods (表名)soldgoodsID 索引productid   bus ...
1.查询表的结构信息 desc tableName; show columns from tableName; describe tableName   上面的结果返回的结果是一样的。 2 查询表的列信息。 select * from information_schema.columns where table_name='tableName';  3 查看库中所有的库 SELECT LOWER(schema_name) schema_name FROM information_schema.schemata WHERE schema ...
Ping是无状态的三层报文,而Telnet是有状态的四层以上的报文。 http://ipneter.blog.51cto.com/341177/106634/   IP子网划分 http://baike.baidu.com/view/1140894.htm   虚拟局域网 http://baike.baidu.com/view/21837.htm?fromId=16125   ACL http://baike.baidu.com/view/18596.htm
在往window中添加element的时候,需要给element指定region   比如 form = new Ext.FormPanel({         labelWidth: 80, // label settings here cascade unless overridden         url:'ext_partnerprofile.php?method=set',         frame:true,         title: 'Add a New Partner Profile',         bodyStyle:'padding:5px 5px ...
1 了解框架的启动和的运行机制 Xml配置或者注解的配置或者properties配置是框架的必不可少的的,一个框架总是先读取框架定义的配置文件和使用者的配置文件,然后再进行启动。如spring,struts1/strtus,hibernate,ibatis,webx3,dubbo,Hadoop等等 2 了解框架内部数据结构和经典的算法     框架不乏对对用户数据的包装和转换,尤其是web框架     hadoop,dubbo的负载均衡 3 了解框架原理,可以吸收好的设计模式或方法,对设计模式有直接的体会 框架常用的设计模式,如工厂模式,适配器模式,装饰器模式,AOP-面向且慢编程 ...
<!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]--><!--[if IE]> 所有的IE可识别 <![endif]--><!--[if IE 6]> 仅IE6可识别 <![endif]--><!--[if lt IE 6]> IE6以下版本可识别 <![endif]--><!--[if gte IE 6]> IE6以及IE6以 ...
Java 串行化技术可以使你将一个对象的状态写入一个Byte 流里,并且可以从其它地方把该Byte 流里的数据读出来,重新构造一个相同的对象。这种机制允许你将对象通过网络进行传播,并可以随时把对象持久化到数据库、文件等系 ...
前一篇 spring aop探寻之Before Advice http://hehaibo.iteye.com/admin/blogs/1836392   首先来看个错误 org.springframework.aop.framework.adapter.UnknownAdviceTypeException: Advice object [com.hhb.biap.interceptor.after.InvokeLogAterAdvice@c59ad5] is neither a supported subinterface of [org.aopalliance.aop.Advic ...
/** * Return the AopProxyFactory that this ProxyConfig uses. */ public AopProxyFactory getAopProxyFactory() { return this.aopProxyFactory; }  1 接口的声明   /** * 应用服务管理 * * @author hehaibo * */ public interface BiapAppService { public void insertApp(BiapApp biapApp); ...
elcipse 启动Junit或者执行main方法报错-> Cannot run program ...: CreateProcess error=206, ÎļþÃû»ò)չÃû     原因定位: 在Windows下命令行长度有限制,两个可能原因 1)maven库的路径太深2)工程路径太深。ps. 这应该是eclipse的bug   解决方法:1)改maven库默认 repository到根目录下, 修改setting.xml添加<localRepository>c:/repo</localRepository>   2) 修改工程名使其尽量简 ...
String 字符串常量StringBuffer 字符串变量(线程安全)StringBuilder 字符串变量(非线程安全) 简要的说, String 类型和 StringBuffer 类型的主要性能区别其实在于 String 是不可变的对象, 因此在每次对 String 类型进行改变的时候其实都等同于生成了一个新的 String 对象,然后将指针指向新的 String 对象,所以经常改变内容的字符串最好不要用 String ,因为每次生成对象都会对系统性能产生影响,特别当内存中无引用对象多了以后, JVM 的 GC 就会开始工作,那速度是一定会相当慢的。 而如果是使用 StringBuff ...
BITAND(nExpression1, nExpression2)select * from table_name where bitand(nExpression1,nExpression2)= 2 查看多少张表:select count from ALL_TABLESselect * from tabs select * from catselect * from all_tab_columnsselect table_name from user_tables select table_name from user_tables; select table_name from ...
Global site tag (gtag.js) - Google Analytics