![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
私密博客
码0扣1
学海无涯,回头是岸!
展开
-
oracle表数据回滚到指定时间
---------------需要回滚的表select t.*, t.rowid from CASES t;-------------------Row movement 从字面意思解释为行移动.默认情况下,oracle数据块中的一行其生命周期内是不会发生移动的,即其rowid不会发生改变. 但是在某些情景下,我们希望行的rowid可以发生变化,这时候我们就需要启动表的row moveme...原创 2020-03-17 15:29:23 · 702 阅读 · 0 评论 -
jquery.pagination.js分页
-------------jsp 0 }">-------------jsvar items_per_page = 2; var page_index = 0; function getDataList(index){ var pageIndex = index; $.ajax({原创 2016-12-13 15:25:14 · 857 阅读 · 0 评论 -
java事务提交与回滚
事务回滚原创 2016-12-27 14:22:29 · 1603 阅读 · 0 评论 -
Oracle 删除根据id 删除重复数据
查询重复的数据select * from t_creditobjection a where (a.id) in (select id from t_creditobjection group by id having count(*) > 1)删除重复的数据delete from t_xzcf_deletewhere id in (select id fro...原创 2017-04-05 15:31:43 · 4191 阅读 · 2 评论 -
表是否在数据库中,字段是否存在表中
/** * 表是否存在数据库中 */function isTablename(tablename){var flag = false;$.ajaxSettings.async = false;$.getJSON(basePath+"/tscstatusconfig/tscstatusconfigJsonAction!isTablename.do",{"entity.tabl原创 2017-09-05 09:45:58 · 251 阅读 · 0 评论 -
demo4j生成字符串xml和解析xml
//拼接XML Document document = DocumentHelper.createDocument();Element root = document.addElement("root");Element data = root.addElement("data");data.addAttribute("class", "map");Elem原创 2016-12-05 11:26:46 · 1250 阅读 · 0 评论 -
读取common.properties文件
ResourceBundle bundle_common = ResourceBundle.getBundle("common");//xybDeptId为在config.properties配置的信用办部门idif(bundle_common.getString("xybDeptId").equals(currentUser.getDpId())){//判断登录用户的部门是不是信原创 2016-08-16 17:41:08 · 893 阅读 · 0 评论 -
IO流下载文件,支持中文
private String fileName;public void downloadexcel() { try { HttpServletRequest request = ServletActionContext.getRequest(); HttpServletResponse response = Serv原创 2016-06-20 10:38:50 · 1051 阅读 · 1 评论 -
上传文件
// 文件上传public String uploadFile(String userId, File file, String fileName,Attachment attachment)throws UploadFileException, IOException {String attachmentId = null;if (file != null) {原创 2016-09-07 10:20:27 · 210 阅读 · 0 评论 -
myeclipse文件解决乱码问题
在项目的工作空间里:E:\myeclipse2014work\.metadata\.me_tcat\conf\server.xml加一句:URIEncoding="utf-8" and responses are returned. Documentation at : Java HTTP Connector: /docs/config/原创 2016-06-21 10:02:03 · 398 阅读 · 0 评论 -
mybatis集合查询
"-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >select count(0) as Count from t_xzxk t where commitorsave='1' and isremove='0'AND TO_CHAR(SJC,原创 2016-09-29 10:57:14 · 436 阅读 · 0 评论 -
字符串a1,b2,c3变a,b,c
public class HelloWorld{public static void main(String []args){System.out.println( test("a1,b2,c3"));}public static String test(String str){String[] strs = str.split(",");str = "";fo原创 2016-09-30 09:38:08 · 710 阅读 · 0 评论 -
easyui datagrid combobox通过url获取json数据的下拉框
easyui1.4 datagrid combobox通过url获取json数据的下拉框原创 2016-10-27 12:49:14 · 8296 阅读 · 0 评论 -
oracle提交不能回滚?让数据回到某个时间点
alter table T_CREDITINFORMATION enable row movement;flashback table T_CREDITINFORMATION to timestamp to_timestamp('2016-11-27 05:00:00','yyyy-mm-dd HH24:MI:SS');原创 2016-11-28 17:29:25 · 1079 阅读 · 0 评论 -
返回专题
专题的返回$(document).ready(function(){ if($("#zhuanti").val()=="2") { var url = $(".ggContent").find("form").attr("action"); alert(url); var divObj = $(".ggCon原创 2016-07-08 11:53:12 · 234 阅读 · 0 评论