上篇总结了下JSON的序列化和反序列化,博园中大牛给了很多牛叉的评论,学习了不少. 不过在上篇中忘了把json序列化和反序列化的另外一种方式写上去了,这里做个简单的补充: Json篇:http://www.cnblogs.com/zhanghaomars/p/3557644.html Json序列化和反序列化扩展方法实现类: using System; using System.Collections.Generic; using System.Linq; using System.Text;
行长度展示长度: /*查询长度*/ SQL> show linesize; /*查询行长度大小*/linesize 100SQL> set linesize200; /*修改行长度大小*/SQL> show linesize; /*查询行长度大小*/linesize 200 ---已修改 页展示行数设置: SQL> show pagesize; /*查询页行数*/pagesize 14SQL> set pag
今天开发在导入数据的时候报一个错误: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs 原因:发现导入的数据单行长度较长. 官方文档的解决办法为: 1.垂直表字段拆分或者大字段合并(大字段最多不超过768,业务进行合并+拆分),divide your table
前言:博主在想要用maven创建项目的时候,忘记之前已经安装过maven了,所以再安装了另一个版本的maven,导致在pom.xml的第一行总是显示某一个jar的zip文件读取不出来. 在网上找了很多方法都没解决出来,最后是把两个版本的maven都卸载了,重新安装,就可以正常创建maven项目了. 因为maven的安装是将zip文件解压之后配置,所以maven的卸载也很简单. ① 把maven解压出来的文件删除. ② 把“我的电脑->属性(右键)->高级系统配置”里面的关于maven的配置删除
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Web; using System.Xml; using System.Xml.Serialization; namespace Common { public class XmlConverter { publ
报错信息: Referenced file contains errors (http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd). For more information, right click on the message in the Problems View and select "Show Details..." 如下图,从version=“2.4” 后换个行就OK了,这个方法对于java检错很实用.
错误:Cannot detect Web Project version. Please specify version of Web Project through <version> configuration property of war plugin 解决办法: pom.xml中添加上述信息后,右键工程->maven->updateProject->finish