上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页
摘要: package com.tz.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.jedis.JedisCo... 阅读全文
posted @ 2018-06-27 12:12 scwyfy 阅读(1213) 评论(0) 推荐(0)
摘要: package cn.xhsd.util.split; import javax.servlet.http.HttpServletRequest; import cn.xhsd.action.abs.AbstractAction; public class SplitUtil { private int cp = 1; private int ls = 3; private Stri... 阅读全文
posted @ 2018-03-12 14:46 scwyfy 阅读(120) 评论(0) 推荐(0)
摘要: /** * HQL的内连接查询 * String hql="from Customer c inner join fetch c.linkmans"; */ @Test public void test8(){ Session session = HibernateUtil.getCurrentSession(); Transaction tr = sess... 阅读全文
posted @ 2018-02-24 11:51 scwyfy 阅读(325) 评论(3) 推荐(0)
摘要: 配置 一对多关系(有外键的一方是多方): 一方写集合,集合需要手动创建 多方写对象,对象不能手动创建 (1)配置多方 public Class Linkman{ private Customer customer;//多个联系人属于一个客户 } (2)配置一方 ... 阅读全文
posted @ 2018-02-08 20:29 scwyfy 阅读(181) 评论(0) 推荐(0)
摘要: 10485760 UTF-8 阅读全文
posted @ 2018-02-07 19:05 scwyfy 阅读(235) 评论(0) 推荐(0)
摘要: /** 在方法中配置参数: (1) 内置对象配置: request:获取cookie、请求头... 获取项目根路径 request.getContextPath() response:用于ajax的输出 response.getWriter.print("输出内容")... 阅读全文
posted @ 2018-02-07 16:09 scwyfy 阅读(267) 评论(0) 推荐(0)
摘要: @Test public void test1() throws Exception{ // import java.util.Properties; // import javax.mail.Address; // import javax.mail.Message.RecipientType; // import javax.mail.Session; // import jav... 阅读全文
posted @ 2018-01-26 17:35 scwyfy 阅读(134) 评论(0) 推荐(0)
摘要: >window+r ->sqlplus >system/manager@实例名 as sysdba --创建表空间(在system用户下才可以创建) //connect system/manager as sysdba:切换到system用户 create tablespace tz datafil 阅读全文
posted @ 2018-01-23 16:39 scwyfy 阅读(240) 评论(0) 推荐(0)
摘要: package cn.tz.lucene; import java.io.File; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.document.Document; impor... 阅读全文
posted @ 2018-01-18 17:03 scwyfy 阅读(346) 评论(0) 推荐(0)
摘要: package cn.tz.lucene; import java.io.File; import java.util.ArrayList; import java.util.List; import org.apache.commons.io.FileUtils; import org.apache.lucene.analysis.Analyzer; import org.apache.l... 阅读全文
posted @ 2018-01-18 16:57 scwyfy 阅读(1330) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页