码迷,mamicode.com
首页 >  
搜索关键字:start transaction savepoint rollback to    ( 29061个结果
Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)"
AF解析json出错: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start with array or object and option to allow fragments not set....
分类:其他好文   时间:2014-07-22 23:04:13    阅读次数:400
汇编转移指令的原理
1.操作符offset 操作符offset在汇编语言中是由编译器处理的符号,他的功能是取得标号的偏移地址 比如下面程序: assume cs:codesg codesg segment start:mov ax,offset start 相当于mov ax,0     s:mov ax,offset s 相当于mov ax,3 codesg ends end start 在上...
分类:其他好文   时间:2014-07-22 22:59:34    阅读次数:506
Emacs 使用android模式
首先用package system安装android-mode, 然后编辑~/.emacs.d/init.el文件,添加下面几行:(require 'android-mode) (setq android-mode-sdk-dir "/opt/android-sdk-linux/")现在重新启动emacs,然后M-x 中运行命令android-start-emulator此时会提示输入Androi...
分类:移动开发   时间:2014-05-02 22:49:40    阅读次数:561
字符串或者数字数组全排列
//字符串全排列package com.demo.acm;public class AllSortChar { public static void allSort(char[] buf,int start,int end){ if(start==end){ ...
分类:其他好文   时间:2014-05-02 19:43:21    阅读次数:256
Struts2实现文件上传报错(三)
1、具体错误如下 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-5-1 23:17:23 org.apache.catalina.core.AprLifecycleListener init 信息: Loade...
分类:其他好文   时间:2014-05-02 05:12:30    阅读次数:257
Struts2实现文件上传报错(二)
1、具体报错如下 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-5-1 23:10:21 org.apache.catalina.core.AprLifecycleListener init 信息: Loade...
分类:其他好文   时间:2014-05-02 02:17:00    阅读次数:353
[leetcode] Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-05-02 00:37:20    阅读次数:349
Remove Duplicates from Sorted Array
没有想通为什么这个简单的问题竟然不是那么简单,太小看它了,以下是两个别人的很不错的solution:Solution1: 1 public class Solution { 2 public int removeDuplicates(int[] A) { 3 // Start...
分类:其他好文   时间:2014-05-01 20:19:26    阅读次数:384
使用ssh过程中对数据库进行update时报错
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition...
分类:数据库   时间:2014-05-01 18:16:35    阅读次数:377
《linux 内核完全剖析》 笔记 CODE_SPACE 宏定义分析
在memory.c里面,遇到一个宏定义,如下: #define CODE_SPACE(addr) ((((addr)+4095)&~4095) start_code + current->end_code) 看的第一眼,不知道,第二眼,还是不知道,纠结了半天还是不知道。 睡了一晚,今天早上再看,嘿嘿,居然看懂了。。。 这个宏定义用于判断给定的addr线...
分类:系统相关   时间:2014-05-01 17:54:09    阅读次数:516
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!