`
斐斐宝贝
  • 浏览: 8400 次
  • 性别: Icon_minigender_1
  • 来自: 西安
文章分类
社区版块
存档分类
最新评论
文章列表
批量数据插入mysql数据库 使用原生jdbc插入 50w-----------5s 100w---------11s 500w----------60s 1000w---------2m application spring.datasource.url=jdbc:mysql://192.100.30.111:3306/northern7house?useUnicode=true&characterEncoding=UTF8&useSSL=false&autoReconnect=true&&rewriteBatchedStatement ...
12月2日,我误删了数据库,老大很不爽,命我再30分钟之内恢复,情急之下,写了一个存储过程,适用于恢复当天删除了表而没有记住表的名称。 只需要传入当天的时间,调用一下就ok了。 存储过程如下: create or replace procedure proc_databack (deletetime in varchar2) as --把当天已经删除的信息查询出来放入游标 cursor mycursor is(select object_name from recyclebin where droptime like deletetime); temp ...
<meta name="Generator" content="EditPlus"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <script> function tt() { var arr=&qu ...
有两个c++文件,里面有加密,解密算法,求大神把加密,解密算法用java实现,求大神。 文件Crypt.h #if !defined(AFX_CRYPT_H__613C5174_16F0_42A5_9493_C7489534C080__INCLUDED_) #define AFX_CRYPT_H__613C5174_16F0_42A5_9493_C7489534C080__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CCrypt  { static char *m_ke ...
最近,项目中用到soap请求,下面是例子 /** * soap请求 * * @return * @throws Exception */ public static String invokeMethod(Object data) throws Exception { // 创建连接 SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance(); SOAPConnection soapConn = soapConnFactory.createCo ...
         2014年开始至今,一直忙碌于一个煤矿的oa项目,新需求,变更不断,搞得大家焦头烂额,加上天气热的原因,个个看着都无精打采,感觉像不折磨的奄奄一息,对于此种情况,我有自己的一些看法: 一、从需求上 ...
最近学习了weblogic,希望大家多多指导。
 --恢复删除的数据的时间点 select * from recyclebin alter table pub_opli enable row movement; flashback table pub_opli to timestamp to_timestamp('2014-05-08 15:00:00','yyyy-mm-dd   hh24:mi:ss');   alter table pub_opli disable row movement;  上述功能十分实用,亲身经历过。
有的客户不懂科学计数法,为了防止页面出现科学计数法,提供了下面代码,供大家参考。 import java.text.DecimalFormat; public class tetr {      public static String padDoubleLeft(Double d, int totalDigit,int fractionalDigit) {      String str="";      DecimalFormat decimalFormat = new DecimalFormat();      decimalForm ...
Global site tag (gtag.js) - Google Analytics