http://www.blogjava.net/ITdavid/archive/2009/02/25/256605.html注解方式的主键配置非自增字段为主键,注解annotation表示以N_LOG_ID字段为例:@Id@Column(name = "N_LOG_ID", unique = tru...
分类:
Web程序 时间:
2014-11-06 17:03:24
阅读次数:
200
多对多关联映射 双向 两方都持有对象引用,修改对象模型,但数据的存储没有变化。 再修改映射文件:public class Role { private int id; private String name;private Set users;//users对象的集合 public int get....
分类:
其他好文 时间:
2014-11-06 16:56:51
阅读次数:
238
Velocity语法http://www.blogjava.net/alexwan/archive/2008/06/07/206473.html1.变量(1)变量的定义:#set($name = "hello")说明:velocity中变量是弱类型的。当使用#set指令时,括在双引号中的字面字符串将...
分类:
其他好文 时间:
2014-11-06 16:45:35
阅读次数:
239
Controller页面:public ActionResult Index(string name, int numTimes) { ViewBag.Message = "Hello " + name; ViewBag.NumTimes = numTi...
分类:
Web程序 时间:
2014-11-06 16:44:56
阅读次数:
225
import urllib.request as requestimport urllib.parse as parseimport stringprint("""+++++++++++++++++++++++ name:cphmvp version: python3.3++++++++++++.....
分类:
编程语言 时间:
2014-11-06 16:36:55
阅读次数:
128
In Crystal Reports, the following error message is displayed when an invalid character is used in the databasetable alias name: Query Engine Error: “T...
分类:
其他好文 时间:
2014-11-06 16:28:36
阅读次数:
355
http://www.cnblogs.com/wanqieddy/archive/2011/06/09/2076785.htmlfind 查找路径 命令选项 "查找的文件名规则" 打印或执行命令#文件名字有无双引号没关系find ./THexunSearchWeiboCrawl* -name 201...
分类:
系统相关 时间:
2014-11-06 16:25:14
阅读次数:
214
2012-04-11 ibatis exception“Alias name conflict occurred. The alias 'weibobo' is already mapped to the value 'null'.”别名已有定义,sqlmap的namespace只是方便调用定义的语...
分类:
数据库 时间:
2014-11-06 16:23:38
阅读次数:
212
So I realise that it might be helpful if I clarify myself, the desktop shortcut file for Eclipse would contain something like this: [Desktop?Entry]
Version=4.3.0
Name=Eclipse
Comment=IDE?for?all...
分类:
系统相关 时间:
2014-11-06 15:11:31
阅读次数:
152
实验:本征VLAN抓包实验拓扑实验要求两个PC机在同一个VLAN,使两条线路上的本征VLAN为不同的VLAN,通信后抓包,查看两条线路上的数据帧封装情况实验步骤1.在交换机上创建VLANR1#vlandatabaseR1(vlan)#vlan2VLAN2added:Name:VLAN0002R1(vlan)#vlan3VLAN3added:Name:VLAN0003R1(v..
分类:
其他好文 时间:
2014-11-06 15:08:16
阅读次数:
275