自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(34)
  • 收藏
  • 关注

原创 Talend / tesb-rt-se

https://github.com/Talend/tesb-rt-se 

2013-04-14 17:32:31 123

原创 DataNucleus - Tutorial for JDO using MongoDB

Simple demonstration of using JDO with DataNucleus You can run this with any supported datastore by simply editing the followingfiles : (1) src/main/resources/META-INF/persistence.xml [Edit ...

2013-04-13 18:47:39 98

原创 MongoDB Connection

1. Insert into mongoDBpackage demo;import java.net.UnknownHostException;import com.mongodb.BasicDBObject;import com.mongodb.DB;import com.mongodb.DBCollection;import com.mongodb.DBCurs...

2013-04-13 07:54:35 131

原创 How to set up Tomcat for HTTPS

JDK Version: 1.7.0_07Tomcat Version: 7.0.37 Step 1: Generate keystore and self-signed certificate with JDK tool placed in %JAVA_HOME%\bin:keytool -genkey -alias tomcat -keyalg RSA -keystore ...

2013-04-09 10:17:48 93

原创 Getting Started with mongoDB Development

After starting the mongo shell your session will use the test database for context, by default. At any time issue the following operation at the mongo to report the current database:dbdb returns ...

2013-04-06 18:18:26 57

原创 Installing mongoDB

1. Download mongoDB:You should place the mongoDB binaries in a central location on the file system that is easy to access and control. Consider /opt.wget http://fastdl.mongodb.org/linux/mongodb-...

2013-04-06 12:52:37 87

原创 Linux Command

1. Get the Linux version:cat /proc/version2. Finding information about one process:ps -ef | grep <process name>3. Kill process by process ID:kill -9 <process ID>   

2013-04-06 08:17:18 64

原创 Installing Maven

Step 1: Download a stable release and unpack the tarball in a suitable place on your workstation: wget http://mirrors.cnnic.cn/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz tar -...

2013-04-05 16:35:32 83

原创 JDK和Tomcat安装

【JDK安装】准备工作:将安装包放置于/usr/local目录下#cp jdk-6u39-linux-i586-rpm.bin /usr/local#cd /usr/local第一步:解压并安装# ./jdk-6u39-linux-i586-rpm.bin第二步:配置环境变量# vi /etc/profile[color=orange]expor...

2013-04-04 20:53:29 78

中文乱码解决方案

==================================== 中文乱码解决方案====================================说明: 在MYSQL中,如果使用缺省的字符集,在建库、建表时,默认使用的是latin1字符集,为ISO 8859-1西欧字符集。插入中文字符时,与之不匹配,就会出现乱码。【解决方案】1...

2010-12-22 15:39:35 59

热编译功能失效解决方案

使用eclipse调式的时候发现热编译功能失效,每次修改java源代码后, 都要重新部署, 很麻烦!【解决办法】 (1) 关闭eclipse (2) 在workspace的目录下,打开.metadata\.plugins目录,删除org.eclipse.core.runtime。 (3) 启动eclipse, 功能恢复。【注意】删除org....

2010-10-12 14:28:04 130

EJB项目的基础配置和测试方法

[color=darkblue][b][size=large]第一步. 配置JBOSS服务器:[/size][/b][/color]配置JBOSS常见错误的解决方案:(1) 【[b]出错信息[/b]】 启动JBoss时出错: "Address already in use: JVM_Bind:8080" 【[b]解决方案[/b]】 修改JBoss端口: 8080端...

2010-09-09 10:54:54 149

拷贝表结构和数据创建新表

[code="sql"]create table employeeasselect * from emp;[/code]

2010-09-07 11:38:15 105

Oracle建立组合主键

[code="sql"]create table sc( sno number(3), cno number(3), grade number(3,1), constraint PK_SC primary key(sno,cno));[/code]

2010-09-07 11:37:29 179

Oracle9i默认用户信息

[b]SYS用户口令: change_on_installSYSTEM用户口令: managerSCOTT用户口令: TIGERManagement Server默认用户: sysman/oem_temp;[/b]

2010-09-07 11:36:17 92

面试题: 如何读写Blob类型的数据?<详细解答>

[b] [color=darkblue]BLOB类型插入数据的设计思路和处理流程[/color][/b][b]【概述】[/b] Oracle的Blob字段比较特殊,他比long字段的性能要好很多,可以用来保存例如图片之类的二进制数据。 写入Blob字段和写入其它类型字段的方式非常不同,因为Blob自身有一个cursor,你必须使用cursor对 blob进行操...

2010-09-07 11:33:04 173

Oracle10g安装信息

Enterprise Manager Database Control URL - (howin) :[color=blue]http://User:1158/em[/color]用户名/密码: system/orcl数据库配置文件已经安装到 C:\oracle,同时其他选定的安装组件也已经安装到 C:\Oracle10g。iSQL*Plus URL 为:[color=blue...

2010-09-07 11:20:39 64

OracleOraHome90Agent无法启动的解决方案

【解决方案】 1.删除%oracle_home%\network\agent\*.Q;(删除agent目录中所有扩展名为q的文件) 2.重新启动服务即可;(采用命令方式启动亦可: agentctl start) 【问题解释】 OracleOraHome90Agent服务如果不能启动, 则OIA也就不能运行, OIA不能运行则无法实现在OMS登陆后的Intelligent Agent节点搜索功能, ...

2010-09-07 11:16:21 77

ORACLE安全性核心技术资料

[code="sql"]--=======================================--以下三步操作在System/manager用户中操作--scott用户权限不足--=======================================--(注:如果用户勿需建表等对象,使用create user jyp identified by jyp建用户即可...

2010-09-07 11:14:26 62

Oracle设置默认值字段的方法

Oracle中如果希望追加默认值,则需以修改列的方式进行,而不能以追加约束的方式进行(SqlServer中可以)。 [code="sql"] ALTER TABLE EMPLOYEE--★注意: MODIFY后不能加COLUMN关键字 MODIFY EMPLOYEE_NAME VARCHAR2(20) DEFAULT 'XXX' [/code]...

2010-09-07 11:08:14 532

Oracle异常问题解决方案

[b][color=blue]1. 在打开Enterprise Manager Consol时报错: "找不到目标主机";[/color][/b]【解决方案】该问题在使用Ghost制作的系统中常见, 出错原因是Oracle中配置的主机名 和实际的主机名不一致. 解决方法如下: (1) Enterprise Manager Consol -> 工具菜单 ->服务管理 -> ...

2010-09-07 10:59:03 119

在Oracle中设置自动增长列

【实现步骤】 1. 创建表blog_info, 具有ID和title两个字段, 其中ID将设置为自动增长列; 2. 创建序列: [code="sql"] create sequence sq_blog_info start with 1 increment by 1 nomaxvalue nocycle cache 10...

2010-09-07 10:54:35 65

PLSQL访问远程数据库配置方案

1. 使用PL/SQL访问远程Oracle9i数据库,前提必须首先在本地安装Oracle,至少需安装客户端组件;2. 修改本地Oracle9i的配置文件: D:\oracle\ora90\network\ADMIN\tnsnames.ora; [code="xml"] 远程数据库的SID = (DESCRIPTION = (ADDRESS_L...

2010-09-07 10:52:43 88

原创 PLSQL中的常用命令

[code="sql"]1. 查询当前用户拥有的表: select * from user_tables;2. 查询所有的表: select * from all_tables;3. 查询EMP表的表结构: select * from user_tab_cols where table_name = 'EMP';[/code]...

2010-09-07 10:49:39 131

Oracle SYSDBA身份问题

【问题现象】用Oracle企业管理器SYSDBA身份登陆,用户名、密码随便输入也可以顺利登陆服务器?【解决方法】将%ORACLE_HOME%\network\admin\sqlnet.ora中的SQLNET.AUTHENTICATION_SERVICES=(NTS)改为SQLNET.AUTHENTICATION_SERVICES=(NONE),就要求必须采用数据库口...

2010-09-07 10:48:29 175

原创 Oracle Top n 解决方案

【以scott.emp表为例】 --查询薪水最高的三位员工 [code="sql"]select * from (select * from emp order by SAL desc) where rownum

2010-09-07 10:47:16 69

原创 Oracle备份与恢复核心技术点

======================================================== 备份与恢复核心技术归纳========================================================1. 在"Configuration and Migration Tools"中选择"Enterprise ...

2010-09-07 10:44:25 86

创建外键的方法

方法一:[code="SQL"]create table OrderMaster( OrderID number primary key, UserName varchar2(20), OrderDate date)create table OrderDetail( OrderID number, PName varchar2(20), ...

2010-09-07 10:40:52 120

服务器启动故障解决方案

【故障缘由】 新建表空间TS,数据文件位于E盘(E:\TS.dbf),新建用户,并在该用户下建立了一些表。 停止数据库服务和监听服务后,单独删除了数据文件TS.DBF。【故障现象】 再次启动数据库服务和监听服务正常 但是当访问服务器时,报如下错误:ORA-01033:ORACLE initialization or...

2010-09-07 10:34:36 112

数据查询相关面试题

1. EMP-DEPT【查询要求】 [color=darkred]显示部门工资总和高于雇员工资总和1/3的部门名称及工资总和?[/color] select dname,sum(sal) from emp,dept where emp.deptno = dept.deptno group by dname having sum(sal)>(select sum(sal)...

2010-09-07 10:32:19 62

Oracle中日期时间字段的处理方案

[b]在PL/SQL中对表中的日期字段赋值的方法:(1)输入指定日期: [/b] [code="sql"] insert into StudentInfo (StuID,StuName,Birthday) values ('004','Jacky',to_Date('2009-3-8','yyyy-mm-dd'));[/code][b](2)输入当前系统日期:[/b]...

2010-09-07 10:28:46 172

原创 使用DOS命令手动启动Oracle数据库

当前服务器中有一个数据库(全局数据库名: Oracle  系统标识符SID: Oracle)------------启动Oracle数据库的步骤:------------1 sqlplus /nolog  (注意:/nolog不要有空格)2 connect / as sysdba  (注:as {sysdba|sysoper})3 startup  (启动数据库) 【注意】star...

2010-09-07 10:22:07 283

Oracle协议适配器错误解决方案

1.监听服务没有起起来。 【解决方案】启动oraclehome92TNSlistener服务。 2.database instance没有起起来。 【解决方案】启动oracleserviceXXXX,XXXX就是你的ORACLE_SID. 3.注册表问题。【注:当建多个数据库时会出现该问题。】 【解决方案】 ------------------...

2010-09-06 17:43:46 66

原创 Struts2基础框架搭建

【功能概述】 1. 搭建Struts2应用框架, 实现由UI层向控制器的数据传递; 2. 手工加载Struts2的jar包;【配置说明】 IDE: MyEclipse 6.0 DB: Oracle 10g Struts version: Struts 2.1.6 Struts Library: < struts2-core-2.1.6.jar...

2010-09-06 11:39:17 67

空空如也

空空如也

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

TA关注的人

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