- 浏览: 1236026 次
- 性别:
- 来自: 北京
最新评论
-
longxitian:
https://www.cnblogs.com/jeffen/ ...
万恶的Mybatis的EnumTypeHandler -
asialee:
ddnzero 写道博主请问FileUtils这个类是哪个包的 ...
使用mockftpserver进行ftp测试 -
ddnzero:
博主请问FileUtils这个类是哪个包的?还是自己的呢?能放 ...
使用mockftpserver进行ftp测试 -
yizishou:
为什么会intMap.get("bbb") ...
浅谈System.identityHashCode -
liguanqun811:
感觉LogManager打开了所有的LogSegment(文件 ...
jafka学习之LogManager
文章列表
Every weekend I found a little lonely, because in the work day, the time is elapsed very quickly, and it is always a busy day, and we always hasn't the feeling about lonely. But in the weekend, all the time is owned and planed by yourself, and if we don't have some interesting things to do, we alw ...
- 2009-04-19 22:18
- 浏览 952
- 评论(0)
Every day out teacher will give us a topic to write something we like, but in the weekend the time is belongs to us, and in the past, I usually don’t write the English journal, in order to form a good habit in the future, I plan to write some journals in the weekend, just like the habit I runnin ...
- 2009-04-18 22:41
- 浏览 1077
- 评论(0)
As internet becomes more and more popular, a lot of of things can be done through internet. Last's year American's president election,Obama and his competitors have make full use of internet to present and transform their opinion and idea to attract more voters and supporters.
In this year's In ...
- 2009-04-18 00:10
- 浏览 1001
- 评论(0)
In our daily life we always take part in a conference of a report or just a simple presentation. If feels sleepy or boring, it is just a kind of time consuming process. Today, our English teacher tell us some suggestions--how to make a active listener.
These can be concluded into three points ...
- 2009-04-16 16:56
- 浏览 1115
- 评论(0)
从类 的命名来看,貌似LineNumberReader可以支持从任意行读取的功能,并且提供了setLineNumber()的方法,但是这个按照并不能改变文件指针的位置,只是你调用getLineNumber()这个函数时,结果会变。API上面说它并不能改变文件物理的指针位置。看来以后得小心使用。
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOExceptio ...
- 2009-04-16 01:27
- 浏览 5436
- 评论(0)
Today I occationally found the oldest man lives in china, was born on Aug. 9, 1887, and is aready 121 years old.
The oldest woman in China, Maikup Zhan, was born on June 15, 1890. She is a resident of Urumqi, capital of Xinjiang, the society said. She is able to take care of herself in daily l ...
- 2009-04-15 16:50
- 浏览 1034
- 评论(0)
Google is a great company who can always give some creative and interesting product and service to us. A few days ago they published the google music search and download service, it's cool and very easy to use.
But today I'll introduce to you another cool search tool—google insights search,whi ...
- 2009-04-14 13:16
- 浏览 1077
- 评论(0)
Last Firday one of our colleage send us a link about a programmer's competency matrix. I have scanned it, it is very detailed, and many of the item I can't reach or at a very low level. This shows I should do more in the later to improve my technology skill.
Computer knowledge is developed ...
- 2009-04-13 19:13
- 浏览 1062
- 评论(0)
今天写了一个程序:
getHibernateTemplate().execute(new HibernateCallback() {
@Override
public Object doInHibernate(Session session)
throws HibernateException, SQLException {
Query query = session
.createQuery("update Project project set project.seq=? where project.id=?");
...
- 2009-04-10 15:01
- 浏览 2415
- 评论(0)
org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.pure.domain.Member.setLogincount
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
根据错误提示,我发 ...
- 2009-04-08 13:53
- 浏览 1474
- 评论(0)
mysqldump --user=root --password=root oa > epgbackup.sql
这个用于mysql的备份,也可以用
mysqldump -uroot -proot oa > epgbackup.sql, 其实也是差不多的。
mysql -uroot -proot -h主机名字 -P端口
然后指定端口的这个参数必须要大写P
下面是mysql的授权命令:
grant select on scm.* to test2@localhost identified by "abc";
flush privileges;
grant ...
今天在程序中用到了HTTPS连接的HTTPURLConnnection, 运行是发生了下面的错误,发现是要安装证书文件,稍微找了一下,把证书文件安装了,就正确了,在这里把证书文件的命令保存一下,以备以后查看:
Suppose:
$JAVA_HOME = "C:\Program Files\Java\jdk1.6.0_01"
Run the following command to import the certifate file.
keytool -import -trustcacerts -alias cng_domain -file cng.cer -key ...
这个是我昨天写的一个SQL语句,是mysql的,本身想用程序来写的,最后还是用sql写出来了,小有自豪感。但不知道效率如何,还的请高人指点。
select na.source_node_id as project_id, p.pname,
(select pc.cname
from projectcategory as pc
where pc.id in (select na_2.sink_node_id
fr ...
- 2009-03-31 13:11
- 浏览 2811
- 评论(1)
[size=large]
CREATE TABLE `balance` (
`name` varchar(255) default NULL,
`account` varchar(255) default NULL,
`value` double default NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `interview` */
insert into `interview`(`name`,`account`,`value`) values
('aaa ...
- 2009-03-27 14:44
- 浏览 1094
- 评论(0)
Tang Jun, the predecessor CEO of ShanDa online game operating and entertainment media company, he helped the company walk out of the valley and reestablished its leading power in online gaming industry.
After fours, he resized the CEO of ShanDa, and enter into a traditional industry company— ...
- 2009-03-24 13:16
- 浏览 1153
- 评论(0)