• 博客(0)
  • 资源 (11)

空空如也

springMVC+mybatis+maven项目实例

springMVC+mybatis+maven整合项目的1个例子

2015-09-25

java发送手机短信例子及jar包

java发送手机短信的例子以及所需要的jar包

2015-09-24

java发送邮件例子及jar包

java发送邮件的例子以及需要的jar包

2015-09-24

maven整合myEclipse说明

maven整合myEclipse过程说明

2015-09-24

springMVC+mybatis+maven项目整合

springMVC+mybatis+maven项目整合例子

2015-09-24

springMVC+hibernate+maven整合

springMVC+hibernate+maven的整合例子

2015-09-24

ssh开发JAR包

ssh开发(spring,struts2和hibernate)所需的jar包,很全

2015-04-02

通讯录SSH

用java,jsp,js,servlet,jdbc实现的校园师生交互平台。

2015-04-02

myeclipse10的破解工具

我用的myeclipse10要收费,于是我找了很久找到这个破解工具,安装很简单,照着说明安装即可。

2015-04-02

新闻发布系统

主要实现新闻发布,即时查询: public List selectByPage(final PageBean pb) throws Exception { return template.execute(new HibernateCallback<List>() { public List doInHibernate(Session session) throws HibernateException,SQLException { List list = null; Query query = session.cre

2015-04-02

ssh多条件查询

类似于赶集网的租房的多条件查询,查询代码如下: public List<FinancialProduct> select(FinancialProduct f) throws Exception { Set<FinancialProduct> sets=new HashSet<FinancialProduct>(); StringBuffer hql=new StringBuffer(); hql.append("from FinancialProduct fp where 1=1"); if(f.getProductType()!=null){ hql.append("and fp.productType='").append(f.getProductType()).append("'"); } if(f.getLevels()!=null){ hql.append("and fp.levels='").append(f.getLevels()).append("'"); } if(f.getAttention()!=null){ hql.append("and fp.attention='").append(f.getAttention()).append("'"); } if(f.getMoney()!=null){ hql.append("and fp.money='").append(f.getMoney()).append("'"); } if(f.getServiceGroup()!=null){ hql.append("and fp.serviceGroup='").append(f.getServiceGroup()).append("'"); } String s = hql.toString(); List<FinancialProduct> list = template.find(s); return list; }

2015-04-02

空空如也

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

TA关注的人

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