摘要: package com.cmb.ccrm.mng; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import org.junit.Test; import com.c 阅读全文
posted @ 2019-04-16 18:27 一z都在 阅读(1005) 评论(1) 推荐(0) 编辑
摘要: Hibernate的缓存机制 1、Hibernate是一个持久层框架,经常访问物理数据库,为了降低应用程序对物理数据源访问的频次,从而提高应用程序的运行性能。缓存内的数据是对物理数据源中的数据的复制,应用程序在运行时从缓存读写数据,在特定的时刻或事件会同步缓存和物理数据源的数据。 2、Hiberna 阅读全文
posted @ 2018-05-23 11:19 一z都在 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 简单oracle循环语句 阅读全文
posted @ 2018-04-23 14:37 一z都在 阅读(71) 评论(0) 推荐(0) 编辑
摘要: import org.apache.tools.zip.ZipEntry;import org.apache.tools.zip.ZipOutputStream; String fileName = strdate;//压缩包命名 File zipFile = new File(this.getSe 阅读全文
posted @ 2017-12-25 15:35 一z都在 阅读(209) 评论(0) 推荐(0) 编辑
摘要: import com.lowagie.text.Document;import com.lowagie.text.pdf.BaseFont;import com.lowagie.text.pdf.PdfContentByte;import com.lowagie.text.pdf.PdfImport 阅读全文
posted @ 2017-12-25 15:09 一z都在 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 飘零去,莫问前因 飘零去,莫问前因 只见半山残照,照住一个愁人 去路茫茫,不禁悲来阵阵 前尘惘惘,惹得我泪落纷纷 想学投笔从戎,图发奋 却被儒冠误了,使我有志难伸 想学一棹五湖,同遁隐 却被妖气笼遍,远无垠 还说什么石烂海枯,情不泯 你看沉沉暮霭,西风紧 南飞北雁,怕向客中闻 平安未报,自问心何忍 阅读全文
posted @ 2017-08-01 10:29 一z都在 阅读(320) 评论(0) 推荐(0) 编辑
摘要: String sql = "select t.TABLE_NAME from user_tables t where num_rows=0"; PreparedStatement prep = null; StringBuffer sb = new StringBuffer(); CallableS 阅读全文
posted @ 2017-06-20 16:50 一z都在 阅读(179) 评论(0) 推荐(0) 编辑
摘要: public Map editSmsOrder(ComSvcCaller svcCaller) { SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd"); Map map = new HashMap(); String start = "20 阅读全文
posted @ 2017-04-27 15:15 一z都在 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: 修改为: 阅读全文
posted @ 2017-03-29 10:44 一z都在 阅读(640) 评论(0) 推荐(0) 编辑