- 博客(34)
- 资源 (37)
- 问答 (1)
- 收藏
- 关注
转载 误删除了Oracle的dbf文件后的解决方法
问题描述: 误删除Oracle数据库的dbf文件,在启动和关闭数据库是会提示错误。 startup启动数据库时提示: ORA-01157:无法标识/锁定数据文件 ORA-01110:数据文件:‘....../X1000_1.dbf' 未找到 解决方法: 1、sql>alter system set "
2017-03-10 20:10:32
1524
转载 css
http://blog.youkuaiyun.com/niejing654092427/article/details/14225691https://zhidao.baidu.com/question/83776438.html
2017-03-07 22:28:26
210
转载 强制刷新
当嵌入jquerymobile时,页面首次加载出错,怎么办? 2014-07-01 20:48:00分类: Web开发最近在做一个项目,由于涉及到跨平台性,所以采用了jquerymobile这个框架,在开发过程中,一开始为了图测试方便,采用了chrome浏览器来测试运行。现叙述如下问题:当在first.html中,有个链接如:登录
2017-03-05 12:27:12
400
转载 jquery mobile相关
http://www.runoob.com/jquerymobile/jquerymobile-examples.htmlhttp://www.helloweba.com/view-blog-297.html http://www.helloweba.com/view-blog-100.html
2017-02-28 21:46:14
225
转载 TOKEN验证失败
第一个坑:TOKEN验证失败 问题用wx_sample.php这个例子时是成功的,而稍微修改wx_sample.php文件,如加入记录log等方法后,就一直提示token验证失败。一开始以为是字符集问题,但却不是。百度搜了,提到了输出有可能有BOM头,也不是。基本上搜到的都是常见问题。后来终于找到了问题的所在:if($this->checkSignature()
2017-02-26 20:15:12
842
转载 微信入门问题
file_get_contents("php://input")的使用方法2014-07-27 43662 懒人程序$data = file_get_contents("php://input"); php://input 是个可以访问请求的原始数据的只读流。 POST 请求的情况下,最好使用 php://input 来代替 $HTTP_RAW_
2017-02-26 20:13:50
185
原创 lesson1
Abraham Lincoln was the 16th president of united state of America. He was remembered for many things, including his log-cabin, his absurd looking clothing accessory, his top-hat. But Lincoln’s abso
2009-11-05 17:59:00
366
原创 人生格言,时刻谨记
1.此刻打盹,你将做梦;而此刻学习,你将圆梦。 2.我荒废的今日,正是昨日殒身之人祈求的明日。 3.觉得为时已晚的时候,恰恰是最早的时候。 4.勿将今日之事拖到明日。 5.学习时的苦痛是暂时的,未学到的痛苦是终生的。 6.学习这件事,不是缺乏时间,而是缺乏努力。 7.幸福或许不排名次,但成功必排名次。 8.学习并不是人生的全部。但,既然连人生的一部分——学习也无法征服,
2009-10-12 18:23:00
397
原创 config_test.properties
dbIp=10.71.167.136:1521#dbIp=10.132.42.101:1521dbServiceName=cbsstandard#dbServiceName=BOSSMDBdbUserName=topengdbUserPassword=topeng#dbIp=10.132.45.21:1521#dbServiceName=boss21#dbUserName=ccare#dbUs
2009-08-26 16:19:00
460
原创 EJBFactory3
private void getInitialContext(String url) throws Exception { try { Properties properties = new Properties(); if (isWeblogicVersion) {
2009-08-26 16:18:00
320
原创 EJBFactory4
public EJBHome getHome(String jndiName, Class ejbHome) throws Exception { EJBHome home = null; try { home = (EJBHome)homeMap.get(jndiName); //如果map中已存在该EJBHo
2009-08-26 16:18:00
313
原创 EJBFactory5
private void loadPropFile() { Properties filecfg = new Properties(); // 文件配置项 // 1.读config.propertes总文件置入缓存。 Util.loadCfgFile(filecfg, "config_test.properties"); INITIA
2009-08-26 16:18:00
292
原创 TestConfig2
private void loadPropFile() { configFile = new Properties(); // 文件配置项 Util.loadCfgFile(configFile, "config_test.properties"); } private void initDb() { System.se
2009-08-26 16:17:00
407
原创 EJBFactory
package com.huawei.oss.test.framework;import java.util.Properties;import javax.ejb.EJBHome;import javax.naming.Context;import javax.naming.InitialContext;import javax.naming.NamingException;import
2009-08-26 16:17:00
456
原创 EJBFactory2
public static EjbCallFactory getInstance() { if (instance == null) { instance = new EjbCallFactory(); } return instance; } /** * 获取初始化的Context
2009-08-26 16:17:00
347
原创 Util
package com.huawei.oss.test.framework;import java.io.IOException;import java.io.InputStream;import java.util.Properties;import org.apache.log4j.Logger;public class Util{ static Logger logger
2009-08-26 16:16:00
311
原创 TestConfig
package com.huawei.oss.test.framework;import java.util.Properties;import org.apache.log4j.Logger;import org.dbunit.PropertiesBasedJdbcDatabaseTester;public class TestConfig{ //private HashMap
2009-08-26 16:16:00
681
原创 HWDBTestCase9
protected final void insertTables(String fileName) throws DatabaseUnitException, SQLException, Exception { if (fileName != null && !fileName.equals("")) { disab
2009-08-26 16:14:00
321
原创 HWDBTestCase10
protected final void compareTable(String querySql, String tableName, String anticipateFile, String[] columnNames) throws DataSetException, SQLException, Exception { IT
2009-08-26 16:14:00
269
原创 HWDBTestCase11
protected final IDatabaseTester getDatabaseTester() { return this.tester; } private InputStream getDbXml(Class classs, String fileName) throws FileNotFoundException {
2009-08-26 16:14:00
343
原创 HWDBTestCase12
public void runBare() throws Throwable { if (firstFlag) { setUp(); countTestMethod(); } try { executeCount += 1;
2009-08-26 16:14:00
246
原创 HWDBTestCase8
if (fileName.substring(fileName.lastIndexOf("//") + 1) .startsWith(USER_BILLING)) { changeDbInfo(USER_BILLING, PWD_BILLING); disableFore
2009-08-26 16:13:00
287
原创 HWDBTestCase9
protected DatabaseOperation getTearDownOperation() { return DatabaseOperation.CLEAN_INSERT; } /** * 对config进行必要的配置 */ protected void setUpDatabaseConfig(DatabaseConfig
2009-08-26 16:13:00
246
原创 HWDBTestCase6
private boolean checkPrevilegeFlag() throws Exception { String flag = ""; try { changeDbInfo("topeng", "topeng"); IDatabaseConnection conn = getConnectio
2009-08-26 16:12:00
263
原创 HWDBTestCase7
protected final void tearDown() throws Exception { lastFlag = false; for (File f : files) { fileName = f.getPath(); if (fileName.substring(fileName.lastI
2009-08-26 16:12:00
272
原创 HWDBTestCase4
private void prepare() throws Exception { if (getTopengTable() != null && getTopengTable().length > 0) { changeDbInfo(USER_TOPENG, PWD_TOPENG); disableForeignKe
2009-08-26 16:11:00
279
原创 HWDBTestCase5
private void backupCurrentTable(String[] tableNames, String fileName) throws Exception { IDatabaseConnection conn = getConnection(); QueryDataSet backupDataSet = new Qu
2009-08-26 16:11:00
324
原创 HWDBTestCase2
static Logger logger = Logger.getLogger(HWDBTestCase.class); public HWDBTestCase() { super(); TestConfig.instance(); } public HWDBTestCase(String name) { su
2009-08-26 16:10:00
310
原创 HWDBTestCase3
private void disableForeignKey() throws Exception { IDatabaseConnection iConn = getConnection(); Connection conn = iConn.getConnection(); PreparedStatement pstmt = conn.prepar
2009-08-26 16:10:00
260
原创 HWDBTestCase
package com.huawei.oss.test.framework;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileReader;import java.io.FileWriter;import java.io.Input
2009-08-26 16:06:00
324
原创 22
Sub FindMonsterSecond() Dim tempFoundS tempFoundS = 0 FindBlockColor 0,0,800,450,2,2,&HBD61BD,0.85,0,x,y If x>=0 And y>=0 Then Dprint "Start FindMonsterSecond" tempFoundS=1 E
2009-07-27 17:59:00
298
原创 33
Sub CallBaby() FindBlockColor 0,0,800,450,2,2,"BabyColor",0.85,0,x,y need modify If x Dprint "Start CallBaby" KeyPressH "F9",1 Delay 10 End IfEnd Sub Sub AddRed() If IsCol
2009-07-27 17:59:00
378
原创 11
Dim MonFoundFirst,MonFoundSecond judge whether there is the monster in map or notDim rdX,rdY create double random coordinateDim MoneyExist judge whether there is the money in map or not Dim MonCol
2009-07-27 17:58:00
764
vbAPI_windows_VSS.rarvbAPI_windows_VSS.rar
2009-12-16
vb+Windows编程vb+Windows编程
2009-12-10
vb+vss+读取配置文件+cmd命令+操作文件夹
2009-09-02
java3D骨骼动画.rar
2009-04-18
TA创建的收藏夹 TA关注的收藏夹
TA关注的人