hi! | 关于
专注于Java技术、开源项目、项目管理
今天 | RSS | RDF | Atom | 其它
 
高级搜索

标签 - 分类 : 全部 | UNIX | 随笔 | 数据库 | Java技术 | 网摘文章
This solution covers the following topics:

A. TNS-12500 on Microsoft Windows NT
B. Intermittent TNS-12500 Errors on Microsoft Windows NT

标签 :

阅读全文...


JDBC操作偶尔碰到这样的异常: java.sql.BatchUpdateException: Overflow Exception trying to bind NaN
在Sun的Java论坛上有人解释,当把一个非法的数字(如“0f/0f”)绑定到一个字段,执行Update操作就会报这样的错误,如下:

It looks like you did some bad arithmetic, resulting in a "Not A Number" (NaN) result. For example:

public class Nan {
   public static void main(String[] args) {
      float nan = 0f / 0f;
      System.out.println(nan);
   }
}


When you then try to store that value in a floating point column, the database complains. So the problem is in your Java logic, and the database is trying to prevent you from corrupting the column!

It's not specific to the BatchUpdate, it just happened to occur in one, and so the BatchUpdate had to report the error.

标签 :

阅读全文...


使用DOM4J和JDOM分别创建和解析RSS
标签 :

阅读全文...


Java应用程序有时候会异常的崩溃,并在桌面或某个目录产生例如hs_err_pid2160.log文件,里面的内容如:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0d1dda, pid=2160, tid=2812
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# C  [awt.dll+0xd1dda]
#

标签 :

阅读全文...


排序是一个很重要很基础的算法,排序经常是性能的瓶颈,耗费数据库大量的CPU和内存。排序也经常放在应用程序里,了解排序真的很重要。
标签 :

阅读全文...


shell> mysqld --character-set-server=utf8
或者:
shell> mysqld_safe --character-set-server=utf8
标签 :

阅读全文...


一份由Indiian Instiitute off Management,Ahmedabad发布的名为“Java Economy in India: A Pessimistic Estimate”的分析报告称:

估计2005年的印度Java经济的总量约$112.7亿,2006年的印度Java经济总量约$146.5亿,而Java经济占了印度GDP(国民生产总值)2.1%。

全文见:Java accounts for 2_1% of GDP-India Business-Business-The Times of India

标签 : ,

阅读全文...


  1. Unix操作系统

  2. IBM System R-1983年以DB2的形式进入商业市场

  3.基因排序软件-美国基因组研究所(IGR)

  4. IBM System 360系统

  5. Java语言

标签 : , , ,

阅读全文...


从一个Oracle 10G 客户端(含OLE DB)的NSIS安装制作脚本学会NSIS安装程序制作
标签 :

阅读全文...