码迷,mamicode.com
首页 >  
搜索关键字:spring data    ( 106273个结果)
asp.net(C#)利用QRCode生成二维码(续)-在二维码图片中心加Logo或图像 .
usingSystem;usingSystem.Web;usingThoughtWorks.QRCode.Codec;usingThoughtWorks.QRCode.Codec.Data;usingThoughtWorks.QRCode.Codec.Util;usingSystem.IO;usin...
分类:Web程序   时间:2014-07-02 23:11:25    阅读次数:320
Android adapter适配器的使用
ListView之SimpleAdapterSimpleAdapter的构造函数是:public SimpleAdapter (Context context, List> data, int resource, String[] from, int[] to)参数context:上下文,比如thi...
分类:移动开发   时间:2014-07-02 22:23:04    阅读次数:273
unity3d 连接sqlserver数据库
U3d连接SQLServer首先把Unity安装目录下的System.Data.dll拷到工程的Asset/Plugins目录下,然后编写连接数据库的脚本,在以上两个步骤无误的情况下,提示这个错误,要考虑SQLServer的相关服务有没有开启,同时要在SQLServer的配置管理器中启用TCP/IP...
分类:数据库   时间:2014-07-02 22:19:04    阅读次数:326
Spring事务的传播特性
Spring中通过Propagation来设置事务的传播属性的,在这个属性中提供了我们其中关于事务传播的特性:1.PROPAGATION_REQUIRED:支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择。 2.PROPAGATION_SUPPORTS:支持当前事务,如果当前没有事务...
分类:编程语言   时间:2014-07-02 22:05:35    阅读次数:207
大文件不断行切割
#! /usr/bin/python#! -*- coding:utf-8 -*-import osdef SplitFile(cnt): path='e:\data' filename=path+'\\qunti_deal.txt' os.chdir(path) i=0 n=0 siz...
分类:其他好文   时间:2014-07-02 21:15:42    阅读次数:228
Spring @AspectJ 实现AOP 入门例子(转)
AOP的作用这里就不再作说明了,下面开始讲解一个很简单的入门级例子。引用一个猴子偷桃,守护者守护果园抓住猴子的小情节。1、猴子偷桃类(普通类):Java代码packagecom.samter.common;/***猴子*@authorAdministrator**/publicclassMonkey...
分类:编程语言   时间:2014-07-02 09:55:35    阅读次数:220
UVA 705 Slash Maze
题目如下: Slash Maze  By filling a rectangle with slashes (/) and backslashes (), youcan generate nice little mazes. Here is an example: As you can see, paths in the maze cann...
分类:其他好文   时间:2014-07-02 09:07:46    阅读次数:186
解决VTune错误The Data Cannot be displayed, there is no viewpoint available for data
错误信息: Error Cannot display data The data cannot be displayed: there is no viewpoint application for the data 错误出现情景: 在对程序做Hardware Event-based Sampling Analysis 0分析时,出现上述错误。 错误解决方法: 删...
分类:其他好文   时间:2014-07-02 09:02:56    阅读次数:337
Spring DI模式 小例子
spring 的 DI模式小例子...
分类:编程语言   时间:2014-07-02 08:20:20    阅读次数:265
分析varnish日志
#!/bin/sh#varnish切割日志,每隔一天切割一次/usr/sbin/ntpdate202.112.10.36>>/dev/nulllogpath=/Data/logsif[-f$logpath/varnish.log];thenmv$logpath/varnish.log$logpath/varnish.`date"+%Y-%m-%d"`.logkillall-9varnishncsa/usr/bin/varnishncsa-n/var/lib/varnish..
分类:其他好文   时间:2014-07-02 06:34:33    阅读次数:251
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!