Recent Posts
-
October 06, 2015
Explore PDF
This article is to illustrate and explore the popular encoding format “PDF”Background: I was asked to develop an application to extract a pdf and convert those traditional Chinese to simplified. Sounds easy, ahuh?At first, I think it’s not that ...
-
September 15, 2015
细说字符集(CharSet)和字符编码(Encoding)
本文将阐述字符集(CharSet)、字符编码(Encoding)之间的关系,以及浅谈集中常用的中文字符集和编码 概述: 中文的乱码现象,以及繁简中文的乱码现象在以中文主导的地区时有发生,而解决乱码的根本,就必须要明白电脑是到底是如何存放和编排我们日常所见的字符,本文将深入探讨,并对有关的名词给予深入的解释,希望之后再遇到有关的编码的问题,能够游刃有余。1. 什么是字符集(CharSet)? charset is the set of characters you can use在英...
-
September 15, 2015
Hibernate System Exception
The following hibernate system exception is raised after I modified the xml file. hibernateSystemException Don’t change the reference to a collection with cascade=”all-delete-orphan”The explanation told nothing at all.. So I try google or stackOv...
-
August 29, 2015
JavaFX Concurrency
[Java] Differences between Platform.runlater() & Task/Serivce in JavaFx Repost from: http://stackoverflow.com/questions/13784333/platform-runlater-and-task-javafxUse Platform.runLater(…) for quick and simple operations and Task for complex an...
-
August 28, 2015
Java Comparator
[Java] Sort a ListIn the recent work, I have to retrieved a list of data with the following data structure. class Entity{ int id; //Primary key type fields; }However, the data retrieved are not in sequential order sorted by the ID. In ...
-
August 19, 2015
Maven Client too old to build
[maven] Update SVN versionIn the .pom.xml file, find the following plugin in. <groupId> com.google.code.maven-svn-revision-number-plugin</groupId>Add the following dependency, which upgrade the svn version to 1.8 (my current version)...
-
August 19, 2015
Oracle Significant Tables
[Oracle SQL] Difference between USER_TABLES, ALL_TABLES and DBA_TABLESUser_tables are those owned by specified user(schema).For example, an oracle database user log in with the identity “USER” and execute the following query:SELECT * FROM user_tab...