- 博客(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 6292 1
转载 JS日期操作
// 增加天 functionAddDays(date,value) { date.setDate(date.getDate()+value);} // 增加月 functionAddMonths(date,value) { date.setMonth(date.getMonth()+value);} // 增加年
2013-03-29 16:59:58 895
原创 spring session in view 配置
针对hibernateweb.xml中加上 OpenSessionInViewFilter org.springframework.orm.hibernate3.support.OpenSessionInViewFilter OpenSessionInViewFilter *.action 针对jpa jpa
2013-03-27 19:19:37 781
转载 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 934
转载 hibernate_Restrictions用法
方法说明Restrictions.eq=Restrictions.allEq利用Map来进行多个等于的限制Restrictions.gt>Restrictions.ge>=Restrictions.lt<Re
2013-03-24 12:45:54 507
转载 java线程API学习 线程池ThreadPoolExecutor
线程池ThreadPoolExecutor继承自ExecutorService。是jdk1.5加入的新特性,将提交执行的任务在内部线程池中的可用线程中执行。构造函数ThreadPoolExecutor(int corePoolSize, int maximumPoolSize,
2013-03-18 14:05:53 872
原创 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 19402
转载 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 3663
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人