自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(56)
  • 收藏
  • 关注

原创 前端学习点滴留痕1: bgcolor+background

 bgcolor: 背景颜色background:背景图片,可以是gif/jpg格式图片,不可以是png格式图片 eg:<body bgcolor="blue" background="img/xxx.jpg"><table border="1" bgcolor="blue" background="img/xxx.jpg"> 

2017-08-06 21:59:04 310

原创 oracle delete all object under an user

BEGINFOR cur_rec IN(SELECT object_name, object_type FROM user_objects WHERE object_type IN('TABLE','VIEW','PACKAGE','PROCEDURE','FUNCTION','SEQUENCE', ...

2013-11-22 11:36:54 146

原创 common toString using reflection

core class: package com.itreply.oschina;import java.lang.reflect.Field;public class GeneralToString { public static String toString(Object obj) { if(obj == null) return "null";...

2013-05-22 13:58:38 131

原创 git tutorial

http://rogerdudler.github.io/git-guide/index.zh.html http://marklodato.github.io/visual-git-guide/index-en.html 

2013-05-03 17:05:21 112

Hibernate one -to -one mapping for Oracle auto-increment key

  1. DB table create   The parent table create table stock ( stock_id number(10) not null, stock_code varchar2(10) not null, stock_name varchar2(10) not null, primary ke...

2013-04-05 17:53:24 108

struts1: ForwardAction example

 1st.  create simple web appmvn archetype:create -DgroupId=com.iteye.struts1 -DartifactId=struts1 -DarchetypeArtifactId=maven-archetype-webapp 2nd. update pom.xml...<dependency>...

2013-04-04 17:31:12 87

1. maven常用命令

1.  create simple web appmvn archetype:create -DgroupId=com.iteye.struts1 -DartifactId=struts1 -DarchetypeArtifactId=maven-archetype-webapp http://www.cnblogs.com/BenWong/archive/2013/03/25/...

2013-04-04 12:21:49 93

原创 eclipse hotkey

1. view variable value during debug:  ctrl + shift + i 2. modify all same variable's value: alt + shift + R3. convert to lowercase: ctrl + shift +Y4. convert to uppercasectrl + shift...

2013-03-26 16:21:44 84

java JVM

1. Generations for Garbage Collection info: Java objects are created in Heap and Heap is divided into three parts, these are called as Young generation, Tenured or Old Generation and Perm Area. ...

2013-03-21 16:57:32 83

原创 multi-thread

1. sleep() and yield() don't release the object lock 2. wait will release the object lock when called

2013-03-19 12:07:01 75

Business requirements relates

Business requirements usually consist of both functional requirements and non-functional requirements. The plan for implementing functional requirements is detailed in the system design. The plan for...

2013-03-14 15:29:40 149

Fixed Deposit account / savings account / installment load

Fixed Deposit Account (定期存款账户): customer deposits a big sum of money for a fixed duration of time (Atleast 3 months or higher). bank gives a very good interest as payment for keeping the depositsav...

2013-03-14 15:28:03 590

原创 SAVEPOINT

 http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_10001.htm4. savepointUse the SAVEPOINT statement to identify a point in a transaction to which you can later roll back.

2013-03-13 16:43:02 74

trigger

Triggers are procedures that are stored in the database and are implicitly run, or fired, when something happens.Traditionally, triggers supported the execution of a PL/SQL block when an INSERT, U...

2013-03-13 16:22:04 82

原创 oracle wrap

Wrapping is the process of hiding PL/SQL source code. Wrapping helps to protect your source code from business competitors and others who might misuse it.You can wrap PL/SQL source code with either...

2013-03-13 15:45:11 97

PACKAGE

oracle sample schema 'HR' & 'SCOTT' locate at :http://code.google.com/p/adf-samples-demos/downloads/detail?name=demoscripts.zip&can=2&q=1. Package(Package is simply a collection of...

2013-03-13 15:17:14 116

原创 Asset Accounts & Liability Accounts & balance sheet & batch

1. Asset AccountsAnything owned, whether tangible (a physical item) or intangible (the right to something) is an asset.  Assets are generally separated into two groups:Current Assets(流动资产) - Cas...

2013-03-13 11:29:08 403

原创 good url for database

[url]http://www.codeproject.com/Articles/9990/SQL-Tuning-Tutorial-Understanding-a-Database-Execu[/url][url]http://www.downloadmela.com/interview-paper?sno=30[/url][url]http://stackoverflow.com...

2013-03-11 22:44:23 91

原创 transient

[b]What are transient variables? What role do they play in Serialization process?[/b]The transient keyword in Java is used to indicate that a field should not be serialized. Once the process of de-s...

2013-02-27 18:29:11 142

原创 1: string VS stringBuffer VS StringBuilder

[b]1)[/b] String is immutable while StringBuffer and StringBuilder is mutable object.[b]2)[/b] StringBuffer is synchronized while StringBuilder is not which makes StringBuilder faster than StringBuf...

2013-02-27 11:24:16 90

原创 0 multi-thread: summary

[url]http://www.journaldev.com/1162/java-multi-threading-concurrency-interview-questions-with-answers[/url]

2013-02-27 09:44:54 61

原创 7. multi-thread: deadlock

1. [b]What is deadlock[/b] ?when two or more threads waiting for each other to release lock and get stuck for infinite time , situation is called deadlock . it will only happen in case of multitaski...

2013-02-27 09:32:35 104

原创 6. multi-thread: consumer & producer

[url]http://tutorials.jenkov.com/java-util-concurrent/blockingqueue.html[/url][url]http://jiji87432.iteye.com/blog/1773770[/url]

2013-02-26 16:25:23 86

原创 5. multi-thread: different between yield()/join()/sleep()

[list][*][b]yield()[/b] method pauses the currently executing thread temporarily for giving a chance to the remaining waiting threads of the same priority to execute. If there is no waiting thread o...

2013-02-26 15:31:53 89

原创 4. multi-thread : thread status

转载自此A java thread is an execution context or a lightweight process. It is a single sequential flow of control within a program. Programmer may use java thread mechanism to execute multiple tasks a...

2013-02-26 15:29:22 106

原创 3. multi-thread: different between process & thread

[b]Processes[/b]A process generally has a complete, private set of basic run-time resources; in particular, each process has its own memory space.(To facilitate communication between processes, mo...

2013-02-26 11:19:23 75

原创 2.multi-thread: life cycle

[img]http://www.roseindia.net/java/thread/life-c1.gif[/img]1. [b]New state[/b] After the creations of Thread instance the thread is in this state but before the start() method invocation. At this...

2013-02-26 10:58:31 107

原创 1. multi-thread --volatile

[b]1.[/b] If a variable is declared with the [b]volatile [/b]keyword then it is guaranteed that any thread that reads the field will see the most recently written value. The volatile keyword will not ...

2013-02-25 21:30:39 67

原创 5 point

1. collection: map/hashmap2. string(like reverse string, stringBuffer...)3. multi-thread4.valatile

2013-02-25 16:29:20 105

原创 good url for hash relate

http://stackoverflow.com/questions/9133603/java-programming-language-online-tests[url]http://winse.iteye.com/blog/1331725[/url][url]http://laotu5i0.iteye.com/blog/1021583[/url]

2013-02-06 16:44:06 75

原创 eclipse hotkey

1. Auoto add override method hotkey CTRL + 3, in the open window, enter "override"http://stackoverflow.com/questions/54886/hidden-features-of-eclipsehttp://www.gocertify.com/quizzes/#java

2013-01-27 14:16:29 88

原创 update redhat dynamic IP to static IP

step1: add gateway vi /etc/sysconfig/network add below "GATEWAY" lineNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=localhost.localdomain[b]GATEWAY=192.168.1.1[/b]step2: add your n...

2013-01-20 15:14:07 76

原创 thinkpad DVD/CD-ROM HL-DT-ST GSA-T50N 升级SP3后丢失驱动问题

前几天XP升级了SP3,导至thinkpad的光盘不可用,光驱型号HL-DT-ST GSA-T50N。找了很多资料都不行,就是微软自己的这个检测工具都不行:[url]http://diagnostics.support.microsoft.com/diagprov/provision/MicrosoftFixit.dvd.RNP.160282074827208017.3.1.Run.exe?_...

2013-01-20 11:24:08 329

原创 daily used command[just for remember]

[b]1. change user : SU[/b] eg: if current user is root, u want to change to another user A, then : su userA1. just list directory:ls -l| grep ^d2. list specific character directoryls...

2013-01-19 22:19:13 177

原创 JMX之好资料

[url]http://stackoverflow.com/questions/859414/jmx-defined[/url]

2012-12-10 22:28:07 73

TOP 8 people you should know in java world

[size=large][b]1. Father of the Java programming language[/b][/size][align=center][img]http://www.mkyong.com/wp-content/uploads/2010/08/James-Gosling-150.png[/img][/align]James Gosling, generall...

2012-10-12 23:42:49 69

原创 初次使用Junit

前言:今天被人问到了TDD和Junit,竟然不会,太out了,回来看了几分钟,没想到junit这么简单,写个程序记一下。Junit是同极限编程中的TDD联系在一起的,所谓TDD就是Test Driven Development.[b]1,安装Junit[/b]eclipse---windows--Preferences--java---Build Path ---new...

2012-09-12 23:52:37 95

Spring beans life cycle management

开发环境:SpringSource Tool Suite 2.9.2 RELEASE JDK: 1.6程序类别: Spring Template Project--->Simple Spring Utility ProjectSpring bean的生命周期如下,以下程序实验图中红框内容:[img]http://dl.iteye.com/upload/attachment/0...

2012-09-02 09:40:11 93

原创 (转载)如何获取新插入Oracle数据库Sequence值的5种方法

[url]http://blog.csdn.net/linwei_1029/article/details/7010539[/url]

2012-08-16 16:50:52 92

原创 Oracle 建表,添加主外键,序列,触发器

[code="java"]select * from user_objects where object_type='TABLE';--删除contact表,包括删除与其相关的约束drop table contact cascade constraints--创建contact表create table contact(id number(6) not null primary...

2012-08-15 23:35:59 294

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除