摘要: 1:软件环境准备1.1Hadoop:我们使用hadoop Release 1.2.1(stable)版本,下载链接:http://mirrors.ustc.edu.cn/apache/hadoop/common/hadoop-1.2.1/我们选择hadoop-1.2.1-bin.tar.gz文件下载... 阅读全文
posted @ 2014-11-04 17:19 无措 阅读(7514) 评论(0) 推荐(3) 编辑
摘要: 配置文件:User类:packagecom.colorlight.springscope;publicclassUser {privateintid;privateStringname;privateStringpassword;publicUser(){ System.out.println("创... 阅读全文
posted @ 2014-11-04 15:38 无措 阅读(1018) 评论(0) 推荐(0) 编辑
摘要: 配置文件spring.xml:接口UserDao:packagecom.colorlight.spring;publicinterfaceUserDao {voidprintInfo();}实现类UserDaoImpl:packagecom.colorlight.spring;publicclass... 阅读全文
posted @ 2014-11-04 15:31 无措 阅读(578) 评论(0) 推荐(0) 编辑
摘要: package ssh.spring; import java.io.IOException; import org.springframework.beans.factory.BeanFactory;import org.springframework.beans.factory.xml.XmlB... 阅读全文
posted @ 2014-11-04 15:28 无措 阅读(13407) 评论(1) 推荐(0) 编辑
摘要: contextConfigLocation classpath:/spring/dataAccessContext_weblogic.xml, classpath:/applicationContext.xml 阅读全文
posted @ 2014-11-04 15:26 无措 阅读(3009) 评论(0) 推荐(0) 编辑
摘要: #include#includetypedef struct BiTNode{ int data; struct BiTNode *lchild,*rchild;}BiTNode,*BiTree;int SequentialSearch(int arr[],int length,int ke... 阅读全文
posted @ 2014-11-04 15:24 无措 阅读(185) 评论(0) 推荐(0) 编辑
摘要: #include#includevoid InsertSort(int arr[],int length);void ShellSort(int arr[],int length);void SelectSort(int arr[],int length);void BubbleSort(int a... 阅读全文
posted @ 2014-11-04 15:23 无措 阅读(175) 评论(0) 推荐(0) 编辑
摘要: YEAR,年份的英文全称YYYY:四位表示的年份YYY,YY,Y:年份的最后三位、两位或一位,缺省为当前世纪MM:01~12的月份编号MONTH:九个字符表示的月份,右边用空格填补MON:三位字符的月份缩写W:当月中的第几周WW:一年中的第几周D:星期中的第几天DD:月份中的第几天DDD:年所中的第... 阅读全文
posted @ 2014-11-04 14:09 无措 阅读(5612) 评论(0) 推荐(0) 编辑
摘要: SELECT TO_DATE('2006-05-01 19:25:34', 'YYYY-MM-DD HH24:MI:SS') FROM DUALSELECT TO_DATE('2006-05-01 19:25', 'YYYY-MM-DD HH24:MI') FROM DUALSELECT TO_DA... 阅读全文
posted @ 2014-11-04 14:07 无措 阅读(542) 评论(0) 推荐(0) 编辑
摘要: substr('This is a test', 6, 2)='is'substr('This is a test', 6) ='is a test'substr('TechOnTheNet', -3, 3) ='Net'substr('TechOnTheNet', -6, 3) ='The'sub... 阅读全文
posted @ 2014-11-04 14:05 无措 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1、修改用户口令:以DBA的身份登入到sqlplus中去,输入命令:ALTERUSERusernameIDENTIFIEDBYnewpassword;这里需要注意的是:新密码必须不能小于7个字符且第一个字符不能为数字。2、解锁用户账户:ALTERUSERusernameACCOUNTUNLOCK;3... 阅读全文
posted @ 2014-11-04 14:03 无措 阅读(160) 评论(0) 推荐(0) 编辑