Spring bean 假设有如下类
public class Service implement IService{
@Transactional(readOnly = false, propagation=Propagation.REQUIRED)
public void methodA(){
.....
methodB()
......
...
分类:
编程语言 时间:
2014-12-09 21:28:23
阅读次数:
278
ControlFile·Asmallbinaryfile·Definescurrentstateofphysicaldatabase·Maintainsintegrityofdatabase·Required:-AtMOUNTstateduringdatabasestartup-Tooperatethedatabase·Linkedtoasingledatabase·Lossmayrequirerecovery·SizedinitiallybyCREATEDATABASETheSizeofCon..
分类:
其他好文 时间:
2014-12-09 19:55:03
阅读次数:
199
Edit DistanceGiven two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You...
分类:
其他好文 时间:
2014-12-09 17:12:10
阅读次数:
240
参考文档:参考demo:CalendarSample.java/*
*Copyright(c)2010GoogleInc.
*
*LicensedundertheApacheLicense,Version2.0(the"License");youmaynotusethisfileexcept
*incompliancewiththeLicense.YoumayobtainacopyoftheLicenseat
*
*http://www.apache.org/licenses/LICENSE-2..
分类:
编程语言 时间:
2014-12-08 15:54:43
阅读次数:
349
index.html
{required:true,minlength:5,equalTo:'#password'} 在class里面如果需要使用{}必须加metadata.js
-->
自定义扩展
-->
label.error {
padding-left: 2px;
padding-bottom: 2px;
font-weight: bold;...
分类:
Web程序 时间:
2014-12-08 15:41:16
阅读次数:
228
Big Number
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 26151
Accepted: 8349
Description
In many applications very large integers numbers are required...
分类:
其他好文 时间:
2014-12-08 12:26:44
阅读次数:
124
属性placeholder:占位符文字required:表单提交时该项没有信息则显示警告。autofocus:表单在加载完成时就有一个表单域被聚焦。autocomplete:是否让浏览器自动记录之前输入的值list属性的值同时也是datelist的id 新输入类型(type...
分类:
Web程序 时间:
2014-12-07 19:04:43
阅读次数:
206
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-12-07 17:37:04
阅读次数:
110
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-12-06 16:46:02
阅读次数:
202
一:使用forms类实现表单1:我们一般把Form类都放到一个文件中:forms.py。具体可存放`在APP的目录,如我的APP为BOOKS目录中。在forms.py里添加:fromdjangoimportforms
classContactForm(forms.Form):
subject=forms.CharField()
email=forms.EmailField(required=False)
mes..
分类:
其他好文 时间:
2014-12-06 11:30:28
阅读次数:
180