- 浏览: 698503 次
- 性别:
- 来自: 上海
最新评论
-
yzs5273:
没什么用。都试过了
WIN7下CS不能全屏的解决方法 -
di1984HIT:
不错,学习了
读取本地计算机中的安装程序列表 -
ffedu:
[flash=200,200][url][img][list] ...
linux/unix中如何用find命令详解,非常详细的介绍,比man find强100倍(转) -
lintghi:
...
Log4j使用相对路径指定log文件及使用总结 -
nick.s.ni:
唉,Java中引用的包没有介绍啊,如果数据库用UTF-8的格式 ...
Oracle 中Java 对象与PL/SQL类型的映射及使用(转)
文章列表
set trimspool on lines 500 pages 0 long 1000000000 longchunk 1000000000
EXEC dbms_metadata.set_transform_param(dbms_metadata.session_transform,'SEGMENT_ATTRIBUTES' ,FALSE, 'TABLE') ;
EXEC dbms_metadata.set_transform_param(dbms_metadata.session_transform,'SQLTERMINATOR' ,TRUE) ;
SPOO ...
Identifying vs non-identifying has nothing to do with identity. Simply ask yourself can the child record exist without the parent? It has to do with whether the primary key of the child (can include more than one coumn) includes the foreign key of the parent. In the non-identifying relationship the ...
@echo off
echo.
echo Removing shortcut arrow and adding open command window here
REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%windir%\System32\shell32.dll,-50" /f >nul
REG DELETE "HKCR\Directory\shell\cmd" /v Extended / ...
In Windows Vista and later, if you press <SHIFT> key and right-click on any folder, you get some extra options like "Open Command Window Here", etc. But if you don't press the SHIFT key, you don't get those extra options.
In this tutorial, we'll tell you how to permanently enable th ...
Command Line JMX Client
- 博客分类:
- Java
Command Line Parser: GNUCommandLine
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.GnuParser;
import org.apache.commons.cli.Help ...
ParseInstance()
{
Files=`find ${JMS_UTIL_CONFIG_PATH} -name "*.jms.properties" | grep -v common | sort`
FileCount=`echo "${Files}"|wc -w|tr -d ' '`
[ $FileCount -le 0 ] && { echo "Not found config files in ${JMS_UTIL_CONFIG_PATH}....."; return 1; }
...
Shell操作字符串
- 博客分类:
- Environment
在做shell批处理程序时候,经常会涉及到字符串相关操作。有很多命令语句,如:awk,sed都可以做字符串各种操作。 其实shell内置一系列操作符号,可以达到类似效果,大家知道,使用内部操作符会省略启动外部程序等时间,因此速度会非常的快。
一、判断读取字符串值
表达式
含义
${var}
变量var的值, 与$var相同
DBMS_XPLAN : Display Oracle Execution Plans
The DBMS_XPLAN package is used to format the output of an explain plan. It was introduced in Oracle 9i as a replacement for the "utlxpls.sql" script or custom queries of the plan table. Subsequent database versions have increased the functionali ...
From Marco Tedone (http://tedone.typepad.com/blog/2011/07/mocking-spring-jms-with-mockrunner.html)
This article shows *one* way to mock the JMS infrastructure in a Spring JMS application. This allows us to test our JMS infrastructure without actually having to depend on a physical connection bei ...
原文:http://www.searchsoa.com.cn/showcontent_52265.htm
【TechTarget中国原创】TIBCO EMS是一款基于JMS标准的消息中间件产品,具有良好的扩展性、易用性和高效性,很多客户将其作为企业内部的消息总线,在企业应用集成平台架构中担任重要的角色,因此,它的安全性也就显的非常重要,往往会影响到整个企业应用集成平台的运行。在默认情况下,TIBCO EMS对连接用户没有任何限制,即使没有用户名和密码,用户一样可以连接到消息服务器,并对服务器中的主题及队列进行操作。本文中,我们将一步步打造安全的TIBCO EMS消息服务器。
1. ...
转自: http://www.linuxsong.org/2010/09/setup-shell-prompt/
PS1的值由一系列静态文本或\和转义字符序列组成,如:
PS1="\u@\H \w$ "
比较有用的转义序列有:
\a ASCII 响铃字符(也可以键入 \007)
\d "Wed Sep 06" 格式的日期
\e ASCII转义字符
\h 主机名
\H 完整的主机名
\j 在此 shell 中通过按 ^Z 挂起的进程数
\l 此 shell 的终端设备名(如 "ttyp1")
\n 换行 ...
Class loading stages:
Loading
Linking
Verification
Preparation
Resolution
Initialization
from: http://javarevisited.blogspot.hk/2012/07/when-class-loading-initialization-java-example.html
Classloading and initialization in Java
Understanding of when a class is loaded and initialized in JVM is one of the fundamental concept of Java programming language. Thanks to Java language spec ...
【深入Java虚拟机】之四:类加载机制
- 博客分类:
- Java
转载请注明出处:http://blog.csdn.net/ns_code/article/details/17881581
类加载过程
类从被加载到虚拟机内存中开始,到卸载出内存为止,它的整个生命周期包括:加载、验证、准备、解析、初始化、使用和卸载七个阶段。它们开始的顺序如下图所示:
其中类加载的过程包括了加载、验证、准备、解析、初始化五个阶段。在这五个阶段中,加载、验证、准备和初始化这四个阶段发生的顺序是确定的,而解析阶段则不一定,它在某些情况下可以在初始化阶段之后开始,这是为了支持Java语言的运行时绑定(也成为动态绑定或晚期绑定)。另外注意这里的几个阶
From: http://tutorials.jenkov.com/java-reflection/dynamic-class-loading-reloading.html
It is possible to load and reload classes at runtime in Java, though it is not as straightforward as one might have hoped. This text will explain when and how you can load and reload classes in Java.
You can ...