`
happysunxf
  • 浏览: 47069 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
要使定时起作用 MySQL的常量GLOBAL event_scheduler必须为on或者是1<wbr></wbr> -- 查看是否开启定时器 SHOW VARIABLES LIKE '%sche%'; <wbr></wbr> -- 开启定时器 0:off 1:on SET GLOBAL event_scheduler = 1; <wbr></wbr> <wbr>< ...
1) 在server.xml 配置 不用ip访问,通过域名访问。 <Host name="www.zcshihui.com" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="/test" docBase="D ...
start-state:是我们整个流程的开始节点,所有的流程实例从这里开始。 transition: 流转;通过transition把流程的各个活动连接起来。 decision:决定性判断;根据条件自动在多个流转路径中选择其一通过。 decision和transition的区别是:decision根据条件自动选择转移路径,只使用transition则需要手工指定转移路径。 node:
一级缓存 是 session级别的。 例子: //大批量更新数据时,防止缓存溢出,要及时清空session; Session session = sessionFactory.openSession(); Transaction tx = session.beginTransaction(); for ( int i=0; i<100000; i++ ) { Customer customer = new Customer(……); session.save(customer); if ( i % 20 == 0 ) { //将本批插入的对象立即写入数据库 ...
package com.util; import java.util.List; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.DeliveryMode; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.MessageConsumer; import javax.jms.MessageProducer; import javax.jms.Session; ...
<?xml version="1.0" encoding="UTF-8"?> <!--构建项目名称--> <project name="sms_project" basedir="." default="release-all-project"> <!--声明全局变量--> <property name="src" location="src"/><property name=&quo ...
...
package com.imti.common.util.getDB; /*** @author sunxf happysunxf@163.com */ import java.io.File; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.cfg.Configuration; import org ...
winver---------检查Windows版本 wmimgmt.msc----打开windows管理体系结构(WMI) wupdmgr--------windows更新程序 wscript--------windows脚本宿主设置 write----------写字板 winmsd---------系统信息 wiaacmgr-------扫描仪和照相机向导 winchat--------XP自带局域网聊天 mem.exe--------显示内存使用情况 Msconfig.exe---系统配置实用程序 mplayer2-------简易widnows media play ...
报错信息: com.mysql.jdbc.CommunicationsException: The last packet successfully received from the server was58129 seconds ago.The last packet sent successfully to the server was 58129 seconds ago, which is longer than the server configured value of 'wait_timeout'. You should consider either expiring ...
...
系统在单一语言环境中没有问题,但由于各种语言环境的不同,各种系统环境千差万别,存在着明显的界限,有三种跨域生态环境的方式: 1)ORB(Object Request Broker) 不同生态环境的程序可以像调用本地对象一样调用远程对象代理的方法,ORB会负责连接到远程的对象,并处理数据的序列化与反序列化。 例子是:java中的RMI实现。 2)SOA 其核心概念
一)LDAP说明: 二)opends安装: 1)服务器设置 2)拓扑设置 3)目录数据设置: 4)运行环境检查: 4)完成:
1)memcache 内存设置: 装成服务之后,可以通过注册表修改命令设置最大内存。 位置在:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached Server 修改ImagePath 的值为: “D:\memcached-1.2.6\memcached.exe” -m 128 -d runservice 2)java调用memcache: package com.util; import java.text.ParseException; import java.text.SimpleDateForm ...
create table JBPM4_DEPLOYMENT ( DBID_ number(19,0) not null, NAME_ clob, TIMESTAMP_ number(19,0), STATE_ varchar2(255 char), primary key (DBID_) ); create table JBPM4_DEPLOYPROP ( DBID_ number(19,0) not null, DEPLOYMENT_ number(19,0), OBJNAME_ varchar2(255 char), KEY_ varchar2(255 char), ...
Global site tag (gtag.js) - Google Analytics