自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

萧若寒

求知若渴,虚心若愚,宁静致远

  • 博客(8)
  • 资源 (3)
  • 收藏
  • 关注

转载 easyui 扩展tree 为 ztree(id, pid)的扁平数据结构集

实例化。这里增加了三个属性,可以指定idFiled,textFiled和parentField。所以这里的simpleData可以不严格转换成tree的数据格式。 $(function(){ $('#tt3').tree({ checkbox: true, url: 'tree_data_simp.php', parentField:"pid", textFiled:"name

2013-03-31 12:38:54 6283 1

转载 JS日期操作

// 增加天 function AddDays(date,value) { date.setDate(date.getDate()+value); }   // 增加月 function AddMonths(date,value) { date.setMonth(date.getMonth()+value); }   // 增加年

2013-03-29 16:59:58 884

原创 spring session in view 配置

针对hibernate web.xml中加上 OpenSessionInViewFilter org.springframework.orm.hibernate3.support.OpenSessionInViewFilter OpenSessionInViewFilter *.action 针对jpa jpa

2013-03-27 19:19:37 774

转载 hibernate Example、Criteria 查询

public List testExample(ShareProfit profit){ return getHibernateTemplate().findByExample(profit); } public List testExample2(ShareProfit profit, MatchMode matchMode){ Example entityExample = E

2013-03-25 08:26:41 925

转载 hibernate_Restrictions用法

方法 说明 Restrictions.eq = Restrictions.allEq 利用Map来进行多个等于的限制 Restrictions.gt > Restrictions.ge >= Restrictions.lt < Re

2013-03-24 12:45:54 500

转载 java线程API学习 线程池ThreadPoolExecutor

线程池ThreadPoolExecutor继承自ExecutorService。是jdk1.5加入的新特性,将提交执行的任务在内部线程池中的可用线程中执行。 构造函数 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize,

2013-03-18 14:05:53 865

原创 jpa entityManager 配置

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springf

2013-03-05 15:48:00 19336

转载 jpa 继承策略

JAP实现继承有三种类型.假设有A.B.C三个类,A为基类,B,C均为A的子类.那么三种设计方式分别为: 1.A.B.C共用一张表 2.每个类分层结构一张表A.B.C各一张表,各自包含自己的属性. 3.A.B.C各一张表. 首先,我们针对第一种情况,进行分析. [共用一张表]    首先我们定义基类(本例以文件为例,子类分别为文件夹和文件)    [java] vie

2013-03-05 09:32:02 3651

ROOT TOOL 工具

手机ROOT工具,用包里的软件放置在该放的位置就行了

2011-12-31

DWR框架 DEMO

本人使用DWR的目的不单是为了使用它的AJAX功能,最主要还是因为它能够“直接”访问java类中的方法……

2011-10-28

jquery图片截取DEMO

jquery图片截取DEMO,jquery图片截取DEMO

2011-10-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除