Skip to content

Commit

Permalink
jdbcTemplate修改
Browse files Browse the repository at this point in the history
jdbcTemplate修改
  • Loading branch information
zl19861124 committed Mar 20, 2013
0 parents commit 881119c
Show file tree
Hide file tree
Showing 4,843 changed files with 343,927 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
163 changes: 163 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
13 changes: 13 additions & 0 deletions .mymetadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="codeFactory"
id="myeclipse.1367480871281"
context-root="/codeFactory"
j2ee-spec="5.0"
archive="codeFactory.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>

18 changes: 18 additions & 0 deletions WebRoot/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>页面找不到</title>
</head>

<body>
<h1>页面找不到</h1>
<p>对不起,您访问的页面不存在。</p>
<!--为了防止页面过小而无法显示-->
<!--1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-->
<!--1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-->
<!--1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-->
<!--1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-->
<!--1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-->
</body>
</html>
3 changes: 3 additions & 0 deletions WebRoot/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

Empty file.
Empty file.
Empty file.
Binary file not shown.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Binary file added WebRoot/WEB-INF/classes/Ognl.class
Binary file not shown.
27 changes: 27 additions & 0 deletions WebRoot/WEB-INF/classes/ValidationMessages.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#----------------------------------------------------------------------------------------
# Hibernate-Validator i18n message
# $Id: ValidationMessages.properties 17927 2009-11-05 09:51:52Z hardy.ferentschik $
#----------------------------------------------------------------------------------------

javax.validation.constraints.AssertFalse.message=must be false
javax.validation.constraints.AssertTrue.message=must be true
javax.validation.constraints.DecimalMax.message=must be less than or equal to {value}
javax.validation.constraints.DecimalMin.message=must be greater than or equal to {value}
javax.validation.constraints.Digits.message=numeric value out of bounds (<{integer} digits>.<{fraction} digits> expected)
javax.validation.constraints.Future.message=must be in the future
javax.validation.constraints.Max.message=must be less than or equal to {value}
javax.validation.constraints.Min.message=must be greater than or equal to {value}
javax.validation.constraints.NotNull.message=may not be null
javax.validation.constraints.Null.message=must be null
javax.validation.constraints.Past.message=must be in the past
javax.validation.constraints.Pattern.message=must match "{regexp}"
javax.validation.constraints.Size.message=size must be between {min} and {max}
org.hibernate.validator.constraints.Email.message=not a well-formed email address
org.hibernate.validator.constraints.Length.message=length must be between {min} and {max}
org.hibernate.validator.constraints.NotBlank.message=may not be empty
org.hibernate.validator.constraints.NotEmpty.message=may not be empty
org.hibernate.validator.constraints.Range.message=must be between {min} and {max}
org.hibernate.validator.constraints.URL.message=must be a valid URL
org.hibernate.validator.constraints.CreditCardNumber.message=invalid credit card number
org.hibernate.validator.constraints.ScriptAssert.message=script expression "{script}" didn't evaluate to true

27 changes: 27 additions & 0 deletions WebRoot/WEB-INF/classes/ValidationMessages_zh_CN.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

#----------------------------------------------------------------------------------------
# Hibernate-Validator i18n message
# UTF-8 encoding config by:applicationContext-validator.xml, author:badqiu(a)gmail.com $
#----------------------------------------------------------------------------------------

javax.validation.constraints.AssertFalse.message=必须为假
javax.validation.constraints.AssertTrue.message=必须为真
javax.validation.constraints.DecimalMax.message=必须小于或等于 {value}
javax.validation.constraints.DecimalMin.message=必须大于或等于 {value}
javax.validation.constraints.Digits.message=数值超出范围,整数位最长为{integer}及保留{fraction}小数位
javax.validation.constraints.Future.message=必须大于当前时间
javax.validation.constraints.Max.message=必须小于或等于 {value}
javax.validation.constraints.Min.message=必须大于或等于 {value}
javax.validation.constraints.NotNull.message=请输入值
javax.validation.constraints.Null.message=必须为空
javax.validation.constraints.Past.message=必须小于当前时间
javax.validation.constraints.Pattern.message=不匹配合法值
javax.validation.constraints.Size.message=大小必须在 {min} 至 {max} 之间
org.hibernate.validator.constraints.Email.message=不是合法的邮件地址
org.hibernate.validator.constraints.Length.message=长度必须在 {min} 至 {max} 之间
org.hibernate.validator.constraints.NotBlank.message=请输入值
org.hibernate.validator.constraints.NotEmpty.message=请输入值
org.hibernate.validator.constraints.Range.message=必须在 {min} 至 {max} 之间
org.hibernate.validator.constraints.URL.message=请输入有效的URL
org.hibernate.validator.constraints.CreditCardNumber.message=请输入有效的信用卡
org.hibernate.validator.constraints.ScriptAssert.message=表达式 "{script}" 不是为真
5 changes: 5 additions & 0 deletions WebRoot/WEB-INF/classes/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#appName=
#appVersion=1.0
#appMode=dev

# datasource setting move to applicationContext-datasource.xml
Empty file.
Empty file.
Empty file.
Binary file not shown.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<html>
<body>

apache common BeanUtils及PropertyUtils等价类,但将checked exception改为unchecked exception,避免try catch

</body>
</html>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<html>
<body>

JSR303 Bean Validation相关工具类,当然JSR303主要实现是Hibernate Validator

</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<html>
<body>

通过extremetable生成PageRequest对象

</body>
</html>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<html>
<body>

用于标注一个类是不是flex Destination

</body>
</html>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<html>
<body>

网上的SpringFactory类

</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<html>
<body>

CglibBeanProxy:用于将hibernate的bean可以作为DTO使用,CustomTypeMarshaller:NaN(AS) => 0(Java) 变为 NaN(AS) => null(Java)

</body>
</html>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<html>
<body>

在blazeds启动时将将java class或是spring bean自动export为Destination

</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<html>
<body>

包含自定义指令,用于实现freemarker模板可以继承其它模板.父模板定义好布局,子模板可以重定义布局中的部分内容

</html>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<html>
<body>

freemarker工具类,将FreemarkerException转为RuntimeException类型的FreemarkerTemplateException
</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 881119c

Please sign in to comment.