- 博客(20)
- 资源 (20)
- 收藏
- 关注
原创 DBunit使用官方说明文档
https://springtestdbunit.github.io/spring-test-dbunit/index.html
2017-01-20 18:13:01 1220
原创 Spring读取property文件的两种配置:EL表达式和placeholder表达式
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.sprin
2017-01-19 16:31:49 2718
原创 Maven settings.xml文件配置官方说明
http://maven.apache.org/ref/3.3.1/maven-settings/settings.html
2017-01-19 14:49:21 448
原创 Oracle NChar类型的注意事项
You can bind or define a Java string against an NCHAR column without explicitly specifying the form of use argument. This implies the following:If you do not specify the argument in the setS
2017-01-19 08:51:14 999
转载 Unicode和UTF-8的关系
Unicode只是一个符号集,它只规定了符号的二进制代码,却没有规定这个二进制代码应该如何存储。UTF-8就是在互联网上使用最广的一种Unicode的实现方式。其他实现方式还包括UTF-16(字符用两个字节或四个字节表示)和UTF-32(字符用四个字节表示),不过在互联网上基本不用。重复一遍,这里的关系是,UTF-8是Unicode的实现方式之一。http://www.ruan
2017-01-17 18:10:12 375
原创 Oracle全球化方面支持的官方文档
http://docs.oracle.com/cd/B19306_01/server.102/b14225/toc.htm
2017-01-17 16:26:01 331
原创 List转换成Map工具类
public class List2MapUtils { /** * K: key class type, V: value class type * * @param sourceList * @param keyName * key property * @param keyClass * key Class typ
2017-01-11 11:13:32 2463 1
原创 JDK并发包---(10)循环栅栏:CyclicBarrier
//CyclicBarrier反复线程计数:一个司令集结士兵,执行任务的例子import java.util.Random;import java.util.concurrent.BrokenBarrierException;import java.util.concurrent.CyclicBarrier;public class CyclicBarrierDemo { /**
2017-01-10 15:21:18 1023
原创 JDK并发包---(9)倒计时器:CountDownLatch
import java.util.Date;import java.util.Random;import java.util.concurrent.CountDownLatch;import java.util.concurrent.ExecutorService;import java.util.concurrent.Executors;public class CountDownL
2017-01-09 18:37:34 704
原创 JDK并发包---(8)ReadWriteLock读写锁:替换ReentrantLock,提高性能
import java.util.Date;import java.util.Random;import java.util.concurrent.locks.Lock;import java.util.concurrent.locks.ReentrantLock;import java.util.concurrent.locks.ReentrantReadWriteLock;impo
2017-01-05 16:27:07 456
原创 JDK并发包---(7)允许多个线程同时访问的:信号量(Semaphore)
import java.util.concurrent.ExecutorService;import java.util.concurrent.Executors;import java.util.concurrent.Semaphore;public class SemaphoreDemo implements Runnable { final Semaphore semaphore
2017-01-05 14:04:49 557
原创 JDK并发包---(6)重入锁ReentrantLock搭档:Condition条件
import java.util.concurrent.locks.Condition;import java.util.concurrent.locks.ReentrantLock;public class ReenterLockCondition implements Runnable { public static ReentrantLock lock = new Reentran
2017-01-04 15:54:49 650
原创 JDK并发包---(5)重入锁ReentrantLock:公平锁
import java.util.concurrent.locks.ReentrantLock;public class FairLock implements Runnable { public static ReentrantLock lock = new ReentrantLock(true); @Override public void run() { while (tru
2017-01-04 15:51:29 650
原创 JDK并发包---(4)重入锁ReentrantLock:锁申请无限等待且不会产生死锁
import java.util.Date;import java.util.concurrent.locks.ReentrantLock;public class TryLock implements Runnable { public static ReentrantLock lock1 = new ReentrantLock(); public static ReentrantL
2017-01-04 15:49:48 810
原创 JDK并发包---(3)重入锁ReentrantLock:锁申请等待限时
import java.util.concurrent.TimeUnit;import java.util.concurrent.locks.ReentrantLock;public class TimeLock implements Runnable { public static ReentrantLock lock = new ReentrantLock(); @Override
2017-01-04 15:45:25 706
原创 JDK并发包---(2)重入锁ReentrantLock:中断响应
import java.util.concurrent.locks.ReentrantLock;/** * interrupted Lock * */public class IntLock implements Runnable { public static ReentrantLock
2017-01-04 15:41:30 1454
原创 JDK并发包---(1)重入锁ReentrantLock:基本使用
import java.util.concurrent.locks.ReentrantLock;public class ReenterLock implements Runnable { public static ReentrantLock lock = new ReentrantLock(); public static int i = 0; @Override public
2017-01-04 15:30:24 563
原创 maven的插件前缀元数据存储位置
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml元数据:metadata
2017-01-03 16:43:35 973
原创 Maven在windows下设置代理须知
官网设置代理介绍地址:http://maven.apache.org/guides/mini/guide-proxies.html 但是注意里面有这样一句话:Please note that currently NTLM proxies are not supported as they have not been tested. You may be able to use the r
2017-01-03 12:15:28 881
原创 maven查看plugin的详细信息
mvn help:describe -Dplugin=org.apache.maven.plugins:maven-source-plugin -Dgoal=jar-no-fork -Ddetail=truemvn help:describe -Dplugin=org.apache.maven.plugins:maven-source-plugin -Ddetail=true
2017-01-03 12:09:49 2066
spring事务与配置
2016-06-01
GXT之旅项目源码包
2014-10-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人