http://java.dzone.com/articles/performance-tuningFor most typical
Spring/Hibernate enterprise applications, the application performance depends
almost...
分类:
移动开发 时间:
2014-05-31 16:53:03
阅读次数:
404
Hibernate provides SQL logging out of the box,
but such logging only shows prepared statements, and not the actual SQL queries
sent to the database.It...
分类:
数据库 时间:
2014-05-31 16:47:16
阅读次数:
514
AutoComplete // html // js
$(document).ready(function () { var data = [ "中国", "中国台湾", ...
分类:
其他好文 时间:
2014-05-31 16:45:19
阅读次数:
489
在实例中spring的配置非常简单而且非常实用,毕竟我们是从搭建框架的根本开始,还没有整合其它高级应用,内容也就略显少了一些。也正因此,成为spring注解模式的最佳入门教材。
分类:
编程语言 时间:
2014-05-31 14:20:29
阅读次数:
276
spring的核心是IOC和DI,首先要明白IOC和DI的概念。IOC,即Inverse of
Control,反转控制,就是将原本在程序中手动创建service对象的控制权交给spring容器管理,简单的说就是对象的创建权交给了spring容器管理。DI,即Dependency
Injection...
分类:
编程语言 时间:
2014-05-31 14:09:11
阅读次数:
389
使用 ps 命令查看 目标进程的 pid,比如说是 1200,然后kill -3 1200在
/data/anr/traces.txt 中就能找到 进程 1200 中各线程的stack trace
分类:
移动开发 时间:
2014-05-31 13:47:40
阅读次数:
434
Spring的@RequestBody非常牛x,可以将提交的json直接转换成POJO对象。正好今天有这样的需求,使用一下,结果一直报415,十分头疼。HTTP
415 错误–不支持的媒体类型(Unsupported media type)我的angularJs是这样写的$http({method:...
分类:
编程语言 时间:
2014-05-31 04:49:43
阅读次数:
758
private void textBox1_DragDrop(object sender,
DragEventArgs e) { if (e.Data.GetDataPresent(DataFormats.FileDrop)) {...
Yii中的分页功能主要由yii\web: Linkable接口、yii\widgets:
LinkPager类和yii\data: Pagination类三个组成。yii\data: Pagination
主要功能是对分页中的参数进行设置,如当前页、每页大小、总页数,总记录数等。yii\widget...
分类:
其他好文 时间:
2014-05-30 23:47:28
阅读次数:
10826
lee/MyTest.hbm.xml org.hibernate.dialect.
MySQLDialect update 一旦在Spring的IoC容器中配置了SessionFactory
Bean,它将随应用的启动而加载,并可以充分利用IoC容器的功...
分类:
编程语言 时间:
2014-05-30 23:31:59
阅读次数:
405