oracle internal table internal RDBMS table X$ : encrypted, sysdba only, fundation of internal mechanism.example: X$KVIT Data dictionary(table) %$ : for storing database structure and definition, created by sql.bsp and $ 2015-01-16 operation #oracle
oracle lock mode By v$lock, we could have a look at lock in every session. Lock have a lot of mode: mode|name||desc–|–||–0|none|1|null|2|Row-S||row sharing lock: share row3|Row-X||row exclusive lock: for modify row4 2015-01-16 operation #oracle
printing under command line Long time no see! Today I am going to have a very exciting thing:printing under command line in linuxWhich is very useful if you need to do the work very fluently!First install cups and its pdf conver 2015-01-16 operation #linux
Oracle login script Add edit file glogin.sql in sqlplus folder.Better than nothing: 12345678910111213141516171819define _editor=vimset serverout on size 100000set trimspool onset long 5000set linesize 100set pagesize 999 2015-01-16 operation #oracle
ubuntu setup default language Edit /etc/default/locale file: LANG=”en_US.UTF-8″ LANGUAGE=”en_US:en” Then generate locale: $ locale-gen -en_US:en You need log out to make this language activated. 2015-01-16 operation #linux
load jar in repl I have been studying clojure for a few days, but I need to write test code in files before using lein run to test it, which is definitely productiveless.One way to load a jar in repl 1(require 2014-12-15 development #clojure
map incomplete fields to class in hibernate Sometimes you just want to partially use columns or fields in HQL but still want to map them into a class by Hibernate.Well I also encounter this situation.I have a entity class Word which has 5 field 2014-12-12 development #java
Postgresql allows any connection For development usage, I would rather allow any connection to postgresql: First you need to add one line in pg_hba.conf host all all 0.0.0.0/0 md5 Which means 2014-12-12 operation #postgresql
hadoop Connection refused no further information When using eclipse on window to connect to remote hadoop server in Linux.But when add a new location: Cannot connect to the Map/Reduce location: Call to 172.18.3.198/172.18.3.198:9001 failed on con 2014-12-05 operation #hadoop
java scanner chinese character I just find it is difficult to scan Chinese character in Java.For reading UTF-8 chinese character by Scanner, you need to identify the char-set. 1Scanner sc = new Scanner(file, "utf-8"); 2014-12-05 development #java