自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

chris in java

process of growing to a architect

  • 博客(18)
  • 资源 (2)
  • 收藏
  • 关注

原创 Trade Mark

trademarkGetting the TM symbol can be problematic. Here are seven techniques to try:Use ® = ® theregistered trademark instead.In early HTML browsers use TM = TMIf you know your older b

2009-02-13 11:52:00 588

原创 MySQL errno: 150 Foreign Key Constraint

From MySQL Manual we can see it happens a foreign key constraint was not correctly formed.(http://dev.mysql.com/doc/refman/5.0/en/innodb-error-codes.html)It reports something like ERRO

2009-01-09 17:01:00 1314

转载 Hibernate Data Types VS JAVA Data Types VS SQL Data Types

by Eric Pugh and Joseph D. GradeckiJava Class Attribute Type         Hibernate Type               Possible SQL Type-Vendor SpecificInteger, int, long short          integer, long, short         Ap

2008-12-18 10:45:00 564

转载 tnsnames.ora 配置

在Win环境下的Oracle中,Oracle/Network/ADMIN/tnsnames.ora 文件很重要,它作用是: 本地命名的配置。本地名可以用简单的名称就可以访问到所需的数据库或服务器所需的信息。而这些信息正是保存到了tnsnames.ora中。         配置好tnsnames.ora后,最终用户输入包括NET服务的连接字符串                  CONNECT

2008-10-27 16:16:00 639

原创 mysqldump的远程数据备份

 mysqldump usage:Shell>mysqldump -hsrc -usrc_usr -psrc_pwd src_db src_tbl | mysql -hdest -udest_root -pdest_pwd -C dest_db源主机IP地址:src源MYSQL服务器登陆名:src_usr (一般为Linux系统登陆名)源MYSQL服务器登陆密码:src_pwd源MYSQL

2008-08-19 12:42:00 576

转载 App server, Web server: What's the difference?

Q:What is the difference between an application server and a Web server? A:Taking a big step back, a Web server serves pages for viewing in a Web browser, while an application se

2008-07-30 14:00:00 350

原创 The requested operstion has failed. Apache无法启动解决方案

各位亲爱的兄弟姐妹,一定要以血为鉴,一个apache让我改conf,卸载,重装,再卸再装,连查资料带请教人的,最后症结就在开始怀疑的oracle上。假如开始就去把oracle的service都关掉,也不至于折腾这么久了。不过经过这么一折腾倒是又知道不少东西,所谓遇到问题才能学到新东西。言归正传,有很多人都遇到这个问题,启动apache时提示“The requested operstion has

2008-07-24 13:27:00 693

原创 Get number from string with regular expression in java

in java, we use Pattern to compile a regular expression and do the match with Matcher.Example1:import java.util.regex.Matcher;import java.util.regex.Pattern;public class Test {    public static void m

2008-07-17 13:16:00 544

原创 How to read file line by line?

since readLine() of DataInputStream is depreacted, now we can use BufferReader to do this job.public static void main(String args[]){        try {            File file = new File("d://myfile.txt");   

2008-07-16 16:58:00 742

原创 java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

 I made this stupid mistake today, never forget to inlude the mysql connector jar file when you manipulate mysql by jdbc.

2008-07-16 15:20:00 415

转载 Import Data from Txt or CSV files into MYSQL database tables

  Mysql-connector-java-3.1.10 is a JDBC connector for MYSQL database. MYSQL provides LOAD DATA INFILE utility to import data from files like csv, txt or xls into database tables.The example below

2008-07-16 15:09:00 1025

原创 Get to Know Code Igniter -- 1

first of all, sorry for disapear almost 2 years even if there is nobodywaiting here but at least it must be a waste of  the space resource.recently im involved in PHP development, now lets start t

2008-07-15 18:20:00 409

原创 关于"CREATE TABLE AS SELECT"不支持"ORDER BY"

CREATE VIEW EMPGROUP AS SELECT NAME,EMPID,HIREDATE,ROWNUM FROM EMP GROUP BY NAME, EMPID, HIREDATE,ROWNUM; 然后用这个VIEW来增加一个TABLE: CREATE TABLE SORTED_EMP AS SELECT NAME, EMPID, HIREDATE FROM EMPGROUP; 注意

2006-11-30 13:10:00 806

原创 MySQL的基本操作

常用:  建立数据库  格式:create database 库名;  例如:建立新数据库discuz  在MYSQL的提示符下:mysql> 录入 create database discuz;  显示数据库  格式:show databases;  注意是databases而不是database   建立新用户  格式:grant all privileges on 数据库.* to 用户

2006-11-27 18:22:00 805

原创 ORA-00942: table or view does not exist

ive solved this problem just now and ill write my way as follows:1st- environment discription:tools: Eclipse3.2,myeclipse5.0,oracle 9i,Tomcat5 tech: Struts2nd- relative codes:            v

2006-11-27 17:16:00 2558

转载 新建oracle用户

启动oracle的控制台,并弹出Add Database to Tree对话框,并填写: Hostname:本机IP SID:ora9i//安装之前配置好的 Port Number:1521 然后在connect database界面上输入: userName:sysman password:oem_temp DROP USER OBS_ZHUJP CASCADE;CREATE USER OB

2006-11-27 14:19:00 1119

原创 eclipse快捷键

Ctrl+1 快速修复(最经典的快捷键,就不用多说了) Ctrl+D

2006-11-27 10:29:00 595 1

原创 the beginning of learning struts

i changed a new company this week and feels well right now. colleagues of this company are easy to relate , hope i also gave them a good impression.yesterday i studied struts and practised a hellowo

2006-11-22 15:31:00 403

PowerDesigner15.0 破解文件

下载后有license.lic 和 pdflm15.dll 两个文件。步骤1:用 pdflm15.dll 替换安装要目录的 pdflm15.dll 文件;步骤2:打开PowerDesigner,在菜单中找到 Tools --> License Parameters --> 选第一个local license,下一步load..下载的 license.lic 文件,重启即可。

2013-09-22

struts2lib包

struts2开发必须引用的的lib包,struts2-core-2.3.14.3.jar,xwork-core-2.3.14.3.jar,ognl-3.0.6.jar,freemarker-2.3.19.jar,commons-fileupload-1.2.2.jar,commons-logging-1.1.1.jar

2013-06-17

空空如也

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

TA关注的人

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