问题:MySQL字段名与保留字冲突在实际操作是经常出现的,一把会出现以下错误。
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException。
解决方法:在MySQL中,下表中的字显式被保留。其中大多数字进制被标准SQL用作列名和/或表名(例如,GROUP)。少数被保留了,因为MySQL需要它们,在MySQL中,当表名或字段名乃至数据库名和...
分类:
数据库 时间:
2014-08-24 16:44:02
阅读次数:
291
今天碰到一个奇怪的错误.events.js:72 throw er; // Unhandled 'error' event ^Error: Parse Error at Socket.socketOnData (http.js:1583:20) a...
分类:
Web程序 时间:
2014-08-24 16:36:22
阅读次数:
202
今天碰到的一个 spark问题,困扰好久才解决首先我的spark集群部署使用的部署包是官方提供的spark-1.0.2-bin-hadoop2.tgz部署在hadoop集群上。在运行java jar包的时候使用命令java -jar chinahadoop-1.0-SNAPSHOT.jar chin...
分类:
编程语言 时间:
2014-08-24 08:04:42
阅读次数:
321
1.jsp的九大隐式对象
request
HttpServletRequest
response HttpServletResponse
session HttpSession
application
ServletcContext
config ServletConfig
exception
(特殊情况下使用)
page
this(本JSP页面)
ou...
分类:
Web程序 时间:
2014-08-23 20:24:31
阅读次数:
205
@SuppressWarnings("resource")public void download() throws Exception{ String filename = "qrcode.png"; String content = "content"; BufferedIma...
分类:
其他好文 时间:
2014-08-23 15:19:40
阅读次数:
218
public function connect($h,$u,$p) { $this->conn = mysql_connect($h,$u,$p); if(!$this->conn) { $err = new Exception('连接失败'); ...
分类:
其他好文 时间:
2014-08-23 13:50:40
阅读次数:
214
1 严重: Servlet /N002-1.0 threw load() exception 2 java.lang.ClassCastException: com.sun.proxy.$Proxy27 cannot be cast to com.bbk.n002.service.Question....
分类:
编程语言 时间:
2014-08-23 08:48:30
阅读次数:
235
当windows系统下使用System.IO命名空间下的方法,目录长度超过260个字符时,.net framework会抛出LongPathException。查阅相关资料,发现是微软为了安全和系统兼容性做出的限制。
原话是这么说的:The exception that is thrown whe...
分类:
其他好文 时间:
2014-08-22 15:54:19
阅读次数:
299
Set-SPCentralAdministration -Port to fix the error:Got this error: Failed to register SharePoint services. An exception of type System.UriFormatExcept...
分类:
其他好文 时间:
2014-08-21 18:32:34
阅读次数:
256
之前程序中,使用Thread.Abort()方法来终止线程的运行,但它是抛出ThreadAbortException异常来终止线程。异常信息摘要:Unhandled Exception:Thread was being aborted.但此时,不想抛出此异常而使用线程终止,就使用了catch方式来捕...
分类:
其他好文 时间:
2014-08-21 14:50:44
阅读次数:
234