码迷,mamicode.com
首页 >  
搜索关键字:transaction    ( 2262个结果
spring 事务传播行为和事务隔离级别
1、Spring声明式事务 声明式事务(declarative transaction management)是Spring提供的对程序事务管理的方式之一。 Spring的声明式事务顾名思义就是采用声明的方式来处理事务。这里所说的声明,就是指在配置文件中申明。用在Spring配置文件中声明式的处理事务来代替代码式的处理事务。这样的好处是,事务管理不侵入开发的组件,具体来说,业务逻辑...
分类:编程语言   时间:2014-12-29 21:32:12    阅读次数:317
apache commons 之 transcation 简介和文件事务系统的实现
Apache Commons Transaction 旨在提供一个轻量级、标准化、高效的 Java 事务多线程编程的工具包,实现了多级锁、事务集合和事务级文件访问。 事务处理系统对数据库使用者来说,是非常熟悉的事情;但是如果将事务处理系统从数据库转移到文件系统上,估计很多同学都要一筹莫展了。实际上,无论库/框架、语言,或者文件系统级别,对文件系统操作事务的支持一直都很薄弱。 单独看一些文件系统...
分类:Web程序   时间:2014-12-29 12:08:35    阅读次数:178
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-12-28 18:12:08    阅读次数:170
Connections could not be acquired from the underlying database
严重: StandardWrapper.Throwableorg.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Connections co...
分类:数据库   时间:2014-12-27 17:36:41    阅读次数:324
LeetCode31:Best Time to Buy and Sell Stock
Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock),...
分类:其他好文   时间:2014-12-26 16:41:15    阅读次数:136
MySQL online ddl
前言:5.1和5.5innodbplugin支持Fastindexcreate:Fastindexcreate如何实现的?只是对于secondaryindex,不需要copytabledata。执行过程:1.判断当前表是否有未结束的transaction(commitorrollback)2.对原表加sharedlock2.把secondaryindex用的column排序放到memory或tempfile..
分类:数据库   时间:2014-12-26 14:55:21    阅读次数:198
[C++]LeetCode: 54 Best Time to Buy and Sell Stock
题目: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the ...
分类:编程语言   时间:2014-12-25 16:25:25    阅读次数:146
Fragment提交transaction导致state loss异常
下面自从Honeycomb发布后,下面栈跟踪信息和异常信息已经困扰了StackOverFlow很久了。java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at android.s...
分类:其他好文   时间:2014-12-24 08:42:49    阅读次数:162
Upgrade Cloudera Manager and CDH 5.2.1 to 5.3.0
UpgradeClouderaManager5.2.1to5.3.01.StoptheClouderaManagementService2.StoptheHiveserviceandallservicessuchasImpalaandHuethatusetheHivemetastore.3. BackupMySQLDatabases(mysqldump-uroot-p--single-transaction --flush-logs--master-data=2--delete-master-logs--al..
分类:其他好文   时间:2014-12-23 17:40:24    阅读次数:160
<<高性能mysql>>笔记1
转载请注明:TheViperhttp://www.cnblogs.com/TheViper >这本书写的真的很好,只可惜本屌不才,大部分都看不懂,暂且记下与mysql优化有关,对自己有用的东西。测试指标吞吐量吞吐量指的是单位时间内的事务处理数,单位tps(transaction per second...
分类:数据库   时间:2014-12-21 19:18:17    阅读次数:290
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!