`
天涯海角tour
  • 浏览: 169844 次
  • 性别: Icon_minigender_1
  • 来自: 郑州
社区版块
存档分类
最新评论
文章列表
【转载】 http://www.jquerycn.cn/content/20130608/3463.html   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  <html xmlns="http://www.w3.org/1999/xhtml">  <head>  <meta http ...

java 反射

在传入的参数 为hashmap时,要设成原来的方法参数为hashMap形式的,不能用map来代替 eg. public void eg(HashMap map,int t) { } 在反射时 Class cls=gddhService.getClass(); HashMap map=new HashMap() map.put("q",2); Class [] argsClass =new Class[2] argsClass [0]=map.getClass(); argsClass[1]=int.Class ...
由于服务器突然掉电,重启机器后发现数据库无法启动。数据库版本 Oracle10201,OS RedHat 5.4数据库无归档,无备份 [oracle@hunan02 ~]$ sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jun 28 10:37:03 2011 Copyright (c) 1982, 2005, Oracle.  All rights reserved. SQL> conn /as sysdbaConnected. SQL> select open_mode from ...
1.利用ClassPathXmlApplicationContext可以从classpath中读取XML文件(1)ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml"); UserDao userDao = (UserDao)context.getBean("userDao");(2)ClassPathXmlApplicationContext resource = new ClassPathXmlApplicationContex ...
Duplicate name in Manifest: SHA1-Digest在运行有fat jar打包的JAR文件时控制台出现各种警告:WARNING: Duplicate name in Manifest: SHA1-Digest.Ensure that the manifest does not have duplicate entries, andthat blank lines separate individual sections in both yourmanifest and in the META-INF/MANIFEST.MF entry in the jar file.M ...
英文:http://developer.android.com/reference/android/app/package-summary.html 中文:http://www.laoguo.org/android/sdk/api/index.html
本文演示在Android平台中绘制和展示图表示例,本示例是基于RChart 2实现的。 在一个系统中经常要用到图表统计数据,在WEB开发中图表绘制是一件简单的事情,因为有比较多的开源方案。但在Android中开源方案并不多。 Android中绘制图表解决方案:  1) 使用google 图表 api     2) 使用Achartengine库(http://www.achartengine.org/)    3) 使用chartdroid库(http://code.google.com/p/chartdroid/) 4) 使用 RChart 2库实现。   ...
转载: 1: 加入权限<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> 2: private WindowManager wm = null;  private WindowManager.LayoutParams wmParams = null;  private Button play1;        @Override     public void onCreate(Bundle savedInstanceState) { ...
在mainActivity里写事件 @Override public boolean dispatchKeyEvent(KeyEvent event) { System.out.println(KeyEvent.KEYCODE_BACK+"--------------------"+event.getKeyCode()+"---------------------"+event.getAction()); if(event.getKeyCode()==KeyEvent.KEYCODE_BACK & ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="tex ...

ibatis 列名无效

 
[转载]http://www.cnblogs.com/ding0910/archive/2011/07/12/2104374.html   iBatis查询时报“列名无效”无列名的错误原因及解决方法 iBatis会自动缓存每条查询语句的列名映射,对于动态查询字段或分页查询等queryForPage, queryForList , 就可能产生“列名无效”、rs.getObject(object)异常错误   解决办法: 在SQL语句上加一个属性(remapResults)配置让每次执行都重新映射列名。 注:仅在可能被queryForPage()和queryForList()都 ...
来个图片 <!-- 页面加载时弹出一个进度条,10秒后自动关闭 --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>My JSP 'listener.jsp' starting page</title> <!-- 需要引入的ext对象 --> <link rel="stylesheet" type=&quo ...
    1:查询ID,根据时间   select timestamp_to_scn(to_timestamp('2012-04-11 17:00:00','YYYY-MM-DD HH24:MI:SS'))  id  from dual 2:根据ID找回数据 select * from 表名AS OF SCN idinsert into xt_yh select * from 表名AS OF SCN id  
1:在网上查到一个工具(CYQ.DBImport)说是可能直接导入  但是我测试了一下,没有成功不知道问题所在只能利用它导出access中的表结构 http://www.cnblogs.com/cyq1162/archive/2011/05/27/2060307.html 2:我又找了个工具可以将access中的数据导出 db2mysql 最后修改了一个表结构,执行mysql 手动导入 的
转载http://06peng.com/read.php/55.htm
Global site tag (gtag.js) - Google Analytics