什么是mybatis
MyBatis是支持普通SQL查询,存储过程和高级映射的优秀持久层框架。MyBatis消除了几乎所有的JDBC代码和参数的手工设置以及结果集的检索。MyBatis使用简单的XML或注解用于配置和原始映射,将接口和Java的POJOs(Plan Old Java Objects,普通的Java对象)映射成数据库中的记录.
orm工具的基本思想
无论是用过的hibern...
分类:
其他好文 时间:
2014-12-02 22:39:33
阅读次数:
236
I don't wanna regret when I'm 30.I just turned 21 years old yesterday,and there isn't really sufficiently ten years,which makes me should do it even h...
分类:
其他好文 时间:
2014-12-01 23:59:25
阅读次数:
378
1. 复制表的结构及其中的数据:create table new_table_name as select * from old_table_name2. 只复制表的结构:create table new_table_name as select * from old_table_name wher...
分类:
其他好文 时间:
2014-12-01 15:41:30
阅读次数:
206
http://hadoop.apache.org/docs/r1.0.4/cn/cluster_setup.html old最新的hadoop2.5 安装目录做了一定修改,安装变得稍微简单一点首先安装准备工具 $ sudo apt-get install ssh $ sudo apt-get in....
分类:
其他好文 时间:
2014-11-30 22:55:31
阅读次数:
300
C#中get和SET,看来看去还是看不懂,通俗一点解释一下,用了有什么好处,不用会怎么样如果你这样写是没有什么不一样的.private int __Old;public int Old{get{return __Old;}set{__Old = value;}}但是如果你这样写就不一样了.priva...
脚本如下: #!/bin/bash
#author?firxiao
#monitor?IP?change
#date:20141128
ip_old=ip_old.txt???
ip_now=ip_now.txt
mail_sender=xxx@xxx.com????#发件人
mail_user=xxx@xxx.com??????#收...
分类:
其他好文 时间:
2014-11-28 12:51:10
阅读次数:
286
1
电脑装成Linux之后,在Linux里面装虚拟机运行cocos2d-x-3.2时报如下错误:
plan3d.exe!cocos2d::GLView::initWithRect(const std::basic_string,std::allocator > & viewName, cocos2d::Rect rect,
float frame...
分类:
数据库 时间:
2014-11-27 06:49:13
阅读次数:
178
Buffer I/O error on device sr0, logical block 0I check today some old CDs, some of them were from ’90 so of course they didn’t work. With one of them ...
分类:
其他好文 时间:
2014-11-26 20:45:18
阅读次数:
247
Chapter 2 :Programming in Modern Objective-C By Matthijs Hollemans第二章:最新的OC编程Old habits die hard, but if you’re still writing Objective-C in the styl....
分类:
移动开发 时间:
2014-11-26 20:37:16
阅读次数:
296
1、把magento的目录复制到新服务器,把数据库导出,导入。如果导不进去的是因为magento的数据库使用了外键约束,通过phpmyadmin导入的时候会报错,在导出的sql文件上加一行SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIG...
分类:
数据库 时间:
2014-11-26 15:58:13
阅读次数:
282