上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: 解决方案 SimpleDateFormat df1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); java.util.Date date11 = df1.parse("2010-6-2 16:10:38.00"); String time = df1.format(date11); Timestamp ts = Timestamp.valu... 阅读全文
posted @ 2019-07-24 15:08 黑魔法os 阅读(2878) 评论(0) 推荐(0) 编辑
摘要: CREATE OR REPLACE FUNCTION SEQ1 (v_bname in VARCHAR2) return NUMBER is v_bcount NUMBER; BEGIN execute immediate 'select count(*) from '||v_bname into v_bcount; ... 阅读全文
posted @ 2019-07-23 12:11 黑魔法os 阅读(1425) 评论(0) 推荐(0) 编辑
摘要: import java.beans.BeanInfo;import java.beans.Introspector;import java.beans.PropertyDescriptor; 阅读全文
posted @ 2019-07-22 18:08 黑魔法os 阅读(2026) 评论(1) 推荐(1) 编辑
摘要: @Autowired private JdbcTemplate jd; int ps1=Integer.valueOf(pageSize); int cp1=Integer.valueOf(currPage); StringBuffer stringBuffer = new StringBuffer(); stringBuffer.appe... 阅读全文
posted @ 2019-07-20 14:05 黑魔法os 阅读(2115) 评论(0) 推荐(0) 编辑
摘要: org.hibernate.Criteria criteria = simpleDAO.getSession().createCriteria(Event.class); Criterion c = Restrictions.or(Restrictions.like("title", "%" + word + "%"), Re... 阅读全文
posted @ 2019-07-20 00:20 黑魔法os 阅读(915) 评论(0) 推荐(0) 编辑
摘要: 所有版本的oracle都可以使用select wm_concat(name) as name from user;但如果是oracle11g,使用select listagg(name, ',') within group( order by name) as name from user;效率更高 阅读全文
posted @ 2019-07-18 16:19 黑魔法os 阅读(26408) 评论(0) 推荐(3) 编辑
摘要: 比如一张表: artile (id,type,content); type:1表示文艺类,2表示小说类,3表示传记,4表示传说,等等5,6,7,8 表数据: id type content 1 3,1 dfasdfasdf 2 1,3,6,8 ... 阅读全文
posted @ 2019-07-18 16:11 黑魔法os 阅读(6202) 评论(0) 推荐(1) 编辑
摘要: 1.启动nginx 有很多种方法启动nginx (1)直接双击nginx.exe,双击后一个黑色的弹窗一闪而过 (2)打开cmd命令窗口,切换到nginx解压目录下,输入命令 nginx.exe 或者 start nginx ,回车即可 3.检查nginx是否启动成功 直接在浏览器地址栏输入网址 http://localhost:80,回车,出现以下页面说明启动成功 也可以在cmd... 阅读全文
posted @ 2019-07-15 20:20 黑魔法os 阅读(326) 评论(0) 推荐(0) 编辑
摘要: maven使用 阅读全文
posted @ 2019-07-12 16:32 黑魔法os 阅读(538) 评论(0) 推荐(0) 编辑
摘要: var lastTime = new Date().getTime(); var currentTime = new Date().getTime(); var timeOut =60 * 1000*10; //设置超时时间: 10分 $(function(){ $(document).mouseov... 阅读全文
posted @ 2019-07-11 10:18 黑魔法os 阅读(680) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页