码迷,mamicode.com
首页 >  
搜索关键字:spring data    ( 106273个结果)
spring3.2实现调度任务
之前一直用quartz做调度任务,这次改用spring了,这里做一个记录,以备查询:在配置文件中增加如下配置:xmlns:task="http://www.springframework.org/schema/task"http://www.springframework.org/schema/taskhttp://www.springframework.org/schema/task/spring-task-3.2.xsd..
分类:编程语言   时间:2014-07-29 15:50:19    阅读次数:195
Log4j配置文件位置+Spring中数据源配置文件位置
一.Log4j配置文件位置 1.自动加载 应用程序启动时,默认情况下会到src目录下寻找log4j.xml配置文件,若不存在,会继续寻找log4j.properties文件,只要找到其中一个就会加载该配置文件内容。 2.手动加载 如果将log4j.properties(或log4j.xml)放到其它目录下,比如下图中的位置,应用程序就不能自动加载log4j的配置文件了,因为应用...
分类:编程语言   时间:2014-07-29 15:15:58    阅读次数:202
C++技术问题总结-第1篇
进程中内存的布局 参见:http://patmusing.blog.163.com/blog/static/135834960201001512358686/ 常量区只读不可写。 静态区可读写。 示例 //所有代码,在Code segment //在Global data segment,const只是个语法标识,不放Constant segment const double...
分类:编程语言   时间:2014-07-29 15:11:37    阅读次数:235
one command 一键收集 oracle 巡检信息(包含dbhc,awr reports)
初步效果图如下   SQL> @nb ------Oracle Database health Check STRAT ------Starting Collect Data Information! ------Part 1.DB Overview... ------Part 2.DB File Overview... ------Part 3.Perfermance Overv...
分类:数据库   时间:2014-07-29 14:55:48    阅读次数:293
LDD和scull相关各种结构体的故事(学习笔记 不定期更新)
LDD和各种结构体的故事 struct scull_dev位置:scull/scull.h struct scull_dev { struct scull_qset *data; /* Pointer to first quantum set */ int quantum; /* the current quantum size */ i...
分类:其他好文   时间:2014-07-29 14:52:16    阅读次数:269
用Spring提高java观察者模式灵活性
在上篇博客 用java观察者模式解耦经典三层架构 中,...
分类:编程语言   时间:2014-07-29 14:49:28    阅读次数:278
HDU - 2604 Queuing (矩阵快速幂)
Description Queues and Priority Queues are data structures which are known to most computer scientists. The Queue occurs often in our daily life. There are many people lined up at the lunch time. ...
分类:其他好文   时间:2014-07-29 14:47:38    阅读次数:268
一组PHP可逆加密解密算法
对于大部分密码加密,我们可以采用md5、sha1等方法。可以有效防止数据泄露,但是这些方法仅适用于无需还原的数据加密。对于需要还原的信息,则需要采用可逆的加密解密算法。下面一组PHP函数是实现此加密解密的方法:加密算法如下:function encrypt($data, $key){ $key...
分类:Web程序   时间:2014-07-29 14:08:08    阅读次数:239
Spring MVC 中的基于注解的 Controller【转】
原文地址:http://my.oschina.net/abian/blog/128028 终于来到了基于注解的 Spring MVC 了。之前我们所讲到的 handler,需要根据 url 并通过 HandlerMapping 来映射出相应的 handler 并调用相应的方法以响应请求。实际上...
分类:编程语言   时间:2014-07-29 14:01:08    阅读次数:379
HDU 1325 Is It A Tree?
Problem DescriptionA tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by dire...
分类:其他好文   时间:2014-07-29 14:00:18    阅读次数:255
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!