一、 建立好数据库,数据库名为db_netlog,结构如下:二、到网站上面下载:mybatis-generator-core-1.3.2.jar当然运行 mybatis-generator 生成的代码还需要下载 mybatis 的 jar 包,和相关数据库的 jdbc。MyBatis中,可以使用Ge...
分类:
其他好文 时间:
2014-07-26 14:25:40
阅读次数:
2301
最近做了一个项目,使用Mybatis自动生成代码,下面做一下总结,被以后参考:一、提前准备:1、工具类:mybatis-generator-core-1.3.2.jar2、postgresql驱动:postgresql-9.2-1003-jdbc4.jar3、xml文件这些我都上传到了附件上,下载链...
分类:
数据库 时间:
2014-07-26 09:50:57
阅读次数:
3871
In Unity scripting, there are a number of event functions that get executed in a predetermined order as a script executes. This execution order is des...
分类:
其他好文 时间:
2014-07-25 23:53:10
阅读次数:
449
【glTexGen】 Rather than having to explicitly provide a texture coordinate for each vertex, we can use texture coordinate generation (texgen) functions....
分类:
其他好文 时间:
2014-07-23 20:48:55
阅读次数:
227
Hibernate配置文件hbm主键的generator可选项[日期:2014-02-18]来源:Linux社区作者:homechao[字体:大中小]1、自动增长identity适用于MySQL、DB2、MSSQLServer,采用数据库生成的主键,用于为long、short、int类型生成唯一标识使用SQLServer和MySQL的自增字段,这个方法不能..
分类:
系统相关 时间:
2014-07-23 00:19:08
阅读次数:
460
The encodeURI and decodeURI functions are intended to work with complete URIs; theyassume that any reserved characters in the URI are intended to have...
分类:
其他好文 时间:
2014-07-22 22:49:54
阅读次数:
254
一、利用axis2生成wsdl文件 1、file->New->Other->Axis2 Code Generator 2、选择第2个,点击next 3,先点击add folder->浏览选择WebService项目下的bin文件夹,然后在fully Qualified Class name中填入类路...
分类:
编程语言 时间:
2014-07-22 22:41:53
阅读次数:
500
根据自己的需要,挑选适合的代码放在主题的functions.php文件中就可以了/* 去除 WordPress 後台升級提示 */// 2.8 ~ 2.9:add_filter('pre_transient_update_core', create_function('$a', "return...
分类:
其他好文 时间:
2014-07-21 11:12:27
阅读次数:
259
您可能听说过,带有 yield 的函数在 Python 中被称之为 generator(生成器),何谓 generator ? 我们先抛开 generator,以一个常见的编程题目来展示 yield 的概念。 如何生成斐波那契數列 斐波那契(Fibonacci)...
分类:
编程语言 时间:
2014-07-21 10:24:08
阅读次数:
281
Problem Description
IP lookup is one of the key functions of routers for packets forwarding and classifying. Generally, IP lookup can be simplified as a Longest Prefix Matching (LPM) problem. That'...
分类:
其他好文 时间:
2014-07-20 10:18:28
阅读次数:
235