1 import queue 2 import threading 3 4 q = queue.Queue(10) 5 def product(i): 6 print('put:'+ str(i)) 7 q.put(i) 8 9 def customer(i): 10 msg = q.get() 1... ...
分类:
编程语言 时间:
2017-03-02 23:33:05
阅读次数:
180
例子: a表 id name b表 id job parent_id 1 张3 1 23 1 2 李四 2 34 2 3 王武 3 34 4 a.id同parent_id 存在关系 1) 内连接 select a.*,b.* from a inner join b on a.id=b.parent_ ...
分类:
数据库 时间:
2017-02-28 13:29:38
阅读次数:
282
1. HQL基本的查询格式 * 支持方法链的编程,即直接调用list()方法 * 简单的代码如下 * session.createQuery("from Customer").list(); 2. 使用别名的方式 * 可以使用别名的方式 * session.createQuery("from Cus... ...
分类:
Web程序 时间:
2017-02-25 12:16:00
阅读次数:
191
子查询是SQL语句中非常重要的功能特性,它可以在SQL语句中利用另外一条SQL语句的查询结果,在Hibernate中HQL查询同样对子查询功能提供了支持。 如下面代码所示: List list=session.createQuery(“from Customer c where 1<(select ...
分类:
Web程序 时间:
2017-02-23 18:48:24
阅读次数:
239
__author__ = "bin007"customer = {}#存储用户信息#处理用户信息文件try: with open('login.txt','r',encoding='utf-8') as f: for line in f: customer[line.split()[0]] = [l ...
分类:
编程语言 时间:
2017-02-22 13:05:08
阅读次数:
171
目标服务器:targetServer 配置反向代理的服务器:reveseProxServer iis应该是iis7及以上版本,才可以。 1、确定最终访问的网址:比如www.baidu.com 、www.jb51.net等等。 当然你也可以自己在targetServer部署自己的程序,在此为了示范,我 ...
分类:
Web程序 时间:
2017-02-19 21:40:41
阅读次数:
626
有多张表有关联关系时,新增关系表RefOrganizationCustomer的数据时,如何获取Customer和Organiaztion的ID!!! mybatis的<insert>时,加上useGeneratedKeys属性,设为true,KeyProperty的值对应的是customer表对应 ...
分类:
其他好文 时间:
2017-02-17 19:09:40
阅读次数:
313
找增强点方法: A可以用程序去找,,ZFIND_EXIT_BADI B 可以在源代码里打断点找 ‘call customer-function’ C 可以在源程序里打断点 ‘call BADI’ D 隐式增强 注意:1. 隐式增强点也是系统提供的。 ***学习得: PBO 事件是做一些初始化动作的, ...
分类:
其他好文 时间:
2017-02-16 15:54:20
阅读次数:
312
Farmer John must measure Q (1 <= Q <= 20,000) quarts of his finest milk and deliver it in one big bottle to a customer. He fills that bottle with exac ...
分类:
其他好文 时间:
2017-02-12 22:46:41
阅读次数:
223
就在 前两天,ORACLE的Exadata家族又发布了一个新成员:SL6。 变化上给人最直观的感觉是:从以前的X86架构变成了SPARC架构。 Exadata Database Machine SL6:. Exadata SL6 is the newest addition to the Exada... ...
分类:
其他好文 时间:
2017-02-12 01:07:47
阅读次数:
223