使用annotation封装的jdbc,只要定义个借口,然后再某个方法上加个annotation,就可以操作数据库了,如: @Query("select * from user where id=?") public User getUser(int id) 不用实现具体方法,就可以用了。
标签: annotation jdbc 封装
上传时间: 2017-01-12
上传用户:lacsx
The worm will produce Arod.exe and " get to C: \WINDOWS catalogue . After starting the machine again , will put worm shelf Arod.exe into C: \, C:\WINDOWS,In zip file under WINDOWS \system32 , these three catalogues ,. As the user opens Outlook Express, the worm will search Outlook Express and accept a mail while inserting , and falsely use the person who sends one name and send the addressee for this mail of worm s mail automatically.
标签: catalogue starting produce WINDOWS
上传时间: 2013-12-18
上传用户:wang5829
PC与单片机双向通讯智能温控程序 #include <AT89X51.H> #include <intrins.h> #define Key_UP P1_0 #define Key_DOWN P1_1 #define Key_SET P1_2 #define RelayOutPort P2_0 #define LEDPort P0 #define DELPort P2_1 #define LEDTwoC P3_6 #define LEDThreeC P3_7 #define TMPort P2_7 #define INBUF_LEN 5 //数据长度 unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 , 0 } //发送缓冲区 unsigned char inbuf2[50] //接收缓冲区 unsigned char count3 void init_serialcomm( void ) { SCON = 0x50 //SCON: serail mode 1, 8-bit UART, enable ucvr TMOD |= 0x20 //TMOD: timer 1, mode 2, 8-bit reload PCON |= 0x80 //SMOD=1 TH1 = 0xFA //Baud:4800 fosc=11.0592MHz IE |= 0x90 //Enable Serial Interrupt TR1 = 1 // timer 1 run } //向串口发送一个字符 void send_char_com( unsigned char ch) { SBUF=ch while (TI== 0 ) TI= 0
标签: include intrins define Key_UP
上传时间: 2014-11-29
上传用户:风之骄子
VB遥控播放器红外遥控解码 #include <regX52.h> #define c(x) (x*110592/120000) sbit Ir_Pin=P3^2 sbit beep=P2^1 //sbit RELAY=P2^0 #define INBUF_LEN 4 //数据长度 unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 } //发送缓冲区 unsigned char inbuf2[50] //接收缓冲区 unsigned char count3 void init_serialcomm( void ) { SCON = 0x50 //SCON: serail mode 1, 8-bit UART, enable ucvr T2CON=0x30 TH2=0x00 TL2=0x00 RCAP2H=0xFF RCAP2L=0xDC TR2=1 } //向串口发送一个字符 void send_char_com( unsigned char ch) { SBUF=ch while (TI== 0 ) TI= 0
标签: include 110592 120000 define
上传时间: 2013-12-21
上传用户:yph853211
是des的一种算法,被称为计数器模式(counter mode)
上传时间: 2014-11-27
上传用户:大三三
Vxworks 下的视频采集程序,该驱动程序是PCI类视频卡,测试程序为:test.cpp 通过初始化后,运行UTL_LVE("1.mpg",5,1),将视频文件保存为1.mpg。 其中1.mpg为文件名,5为时间秒,1为mode。
上传时间: 2017-01-29
上传用户:miaochun888
欢迎使用ERwin信息模型,以前如果你从未见过模型,ERwin Methods Guide将帮助你了解什么是模型,以及它适合于什么。如果你已经一些有使用数据和信息模型的经验,那么你知道它在业务需求中是很有用的。如果在设计新的信息系统或在维护和修改存在的东西,模型能帮助你。本文没有包括信息模型的许多细节。但是,到你读完它的时候,你将足够地了解它,即使你仅仅初学者,ERwin的方法也将为你工作。本文覆盖了由 ERwin支持的信息模型方法,它不包括了ERwin的详细使用,如何使用 ERwin工具请见”ERwin User s Guide”。由 ERwin支持的信息模型方法是神秘的缩写字:”IDEF1X”,IDEF1X方法由 U.S.空军开发。目前,它应用于空军、政府机构、航空工业和财政部门、大公司、大型企业。并且,信息模型在各种主要的管理严格的大公司是必需的。
上传时间: 2017-01-31
上传用户:恋天使569
本例展示了如何利用外设TIM2来产生四路频率不同的信号。 TIM2时钟设置为36MHz,预分频设置为2,使用输出比较-翻转模式(Output Compare Toggle Mode)。 TIM2计数器时钟可表达为:TIM2 counter clock = TIMxCLK / (Prescaler +1) = 12 MHz 设置TIM2_CCR1寄存器值为32768,则CC1更新频率为TIM2计数器时钟频率除以CCR1寄存器值,为366.2 Hz。因此,TIM2通道1可产生一个频率为183.1 Hz的周期信号。 同理,根据寄存器TIM2_CCR2 、TIM2_CCR3和 TIM2_CCR4的值,TIM2通道2可产生一个频率为366.3 Hz的周期信号;TIM2通道3可产生一个频率为732.4 Hz的周期信号;TIM2通道4可产生一个频率为1464.8 Hz的周期信号。 可以通过示波器观察各路输出
上传时间: 2014-01-22
上传用户:plsee
小虫新闻管理系统 V1.0(jsp+javabean+mysql) 1.解压缩 (如解压缩到D:\tomcat4\webapps\ROOT\news目录下) 2.进入classes目录,打开news.txt。 修改mysql.url(数据库联接地址及数据库名),mysql.user(用户名),mysql.password(密码),ilog(数据库联接池日志文件,请注意路径分隔符为“\\”,在linux中是“/”); 3.建数据库,并将database目录下news.sql导入;news.sql中37行中用户可修改你想要的密码,但用户名admin不能更改,否则不能实现超级管理员的功能 4.运行管理文件 --> admin/index.jsp 对系统进行一些基本设置(首先添加栏目) (如: http://localhost:8080/news/admin/index.jsp ) 5.OK!欢迎使用 (如:http://localhost:8080/news/index.jsp )
标签: omcat4webappsROOT javabean classes mysql
上传时间: 2013-11-28
上传用户:www240697738
A MATLAB GUI platform for realizing the radiation pattern of narrowband beamformer with random array geometry. User can specify the array geometry, directions of incoming signals, noise power, and the type of beamformer. Useful for gaining insight about collaborative beamforming in sensor networks and random arrays. You need both randomarray.fig and randomarray.m to work.
标签: beamformer narrowband realizing radiation
上传时间: 2014-01-06
上传用户:qb1993225