- 博客(8)
- 收藏
- 关注
转载 用通配符解决mappingResources的繁琐配置
<!-- 用通配符解决mappingResources的繁琐配置 --> <property name="mappingLocations"> <list> <value>classpath*:com/yb/vo/*.hbm.xml</value...
2019-10-04 13:01:54
450
转载 Java 三种时间戳
import java.text.SimpleDateFormat;import java.util.Calendar;import java.util.Date;public class Test01 { public static void main(String args[]){ Date date=new Date(); SimpleDa...
2019-10-04 13:01:52
389
转载 struts2 spring2 hibernate3 整合框架
struts2 spring2 hibernate3 整合框架,我自己整合的,为了以后自己用到的时候,方便找到,没有任何意图。//web.xml<?xml version="1.0" encoding="UTF-8"?><web-app version="2.5" xmlns="http://java.sun.com/xml/ns/ja...
2019-10-04 13:01:52
116
转载 关于DB2存储过程的几个小实例
关于DB2存储过程的几个小实例2010-08-27 15:55http://blog.myspace.cn/e/402393233.htm ============================================================================== CREATE PROCEDURE proc_with_varia...
2019-10-04 13:01:51
187
转载 爬网入门:JAVA抓取网站网页内容
最近在用JAVA研究下爬网技术,呵呵,入了个门,把自己的心得和大家分享下以下提供二种方法,一种是用apache提供的包.另一种是用JAVA自带的.代码如下:// 第一种方法//这种方法是用apache提供的包,简单方便//但是要用到以下包:commons-codec-1.4.jar// commons-httpclient-3.1.jar// commons-loggin...
2019-10-04 13:01:51
116
转载 iBatis 配置文件详解
ibatis基础代码包括: 1. ibatis实例配置 一个典型的配置文件如下(具体配置项目的含义见后): <? xml version="1.0" encoding="UTF-8" ?><! DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0/...
2019-10-04 13:01:49
197
转载 oracle sql
sql判断是否为空的查询语句:select t.term from call t where class is null;select t.term from call t where class is not null;select mobile,visttime from local_vistlog where url like 'http://wap0579.cn/wap/...
2019-10-04 13:01:49
161
转载 Oracle导入导出数据
Oracle里面的导入导出的命令很简单就是exp/imp,导出命令的格式是:exp system/manager@TEST file=d:daochu.dmp full=y其中system是用户名,manager是密码,TEST是数据库名称,file=后面是导出为哪个文件导入命令的格式是:imp system/manager@TEST file...
2019-10-04 13:01:47
144
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人