码迷,mamicode.com
首页 >  
搜索关键字:mybatis delete    ( 25952个结果
Effective C++:条款16:成对使用new和delete时要采取相同形式
(一) 先看下面的代码: string* stringArray = new std::string[100]; ... delete stringArray; 这样的做法是错误的,因为stringArray所含的100个string对象中的99个可能并没有被适当地删除,因为它们的析构函数很可能没有被调用。   (二) 使用new时发生的事情: (1)内存被分配出来; (2)针...
分类:编程语言   时间:2014-06-19 10:31:16    阅读次数:224
游戏开发实验室的内部讲座总结----c++
?? 第三节  动态内存分配new和delete   经过调试设置断点,发现new 函数其实还是调用的malloc函数。   第四节  引用   一个变量是可以有多个引用的,引用也是可以传递的。  常量是不能有引用的。   当引用作为函数的返回值时。如下的例子//       int &add(int &a,int ...
分类:编程语言   时间:2014-06-16 12:09:14    阅读次数:296
[leetcode]Remove Duplicates from Sorted List II @ Python
原题地址:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/题意:Given a sorted linked list, delete all nodes that have duplicate number...
分类:编程语言   时间:2014-06-16 10:40:35    阅读次数:340
org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance:
详细错误堆栈信息:org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: xx.xx...
分类:系统相关   时间:2014-06-16 07:01:08    阅读次数:823
HTTP头解读
Http协议定义了很多与服务器交互的方法,最基本的有4种,分别是GET、POST、PUT、DELETE。一个URL地址用于描述一个网络上的资源, 而HTTP中的GET、POST、PUT、 DELETE就对应着对这个资源的查、改、增、删4个操作,我们最常见的就是GET和POST了。GET一般用于获.....
分类:其他好文   时间:2014-06-12 20:43:15    阅读次数:257
tomcat启动时就频繁gc和full gc
一个小业务,流量并不大,功能也很简单,spring framework+mybatis+quartz,一启动就看到gc的频次和full gc的频次非常高:4.202: [Full GC 4.202: [Tenured: 0K->6653K(349568K), 0.1948910 secs] 1397...
分类:其他好文   时间:2014-06-12 11:58:23    阅读次数:4083
Mybatis-generator的使用
一、核心文件generator.xml指定数据库jar包位置、数据库连接信息、生成包的位置、表名等关键信息。该文件放在任意位置。<!DOCTYPEgeneratorConfigurationPUBLIC"-//mybatis.org//DTDMyBatisGeneratorConfiguration1.0//EN""http://mybatis.org/dtd/mybatis-generator-config..
分类:其他好文   时间:2014-06-10 23:11:01    阅读次数:295
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!