<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[hai_zai的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/hai_zai</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; hai_zai]]></copyright><item><title><![CDATA[Oracle procedure 基本语法]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/84992006</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/84992006</guid><author>hai_zai</author><pubDate>Thu, 13 Dec 2018 17:21:36 +0800</pubDate><description><![CDATA[Oracle procedure 基本语法
转自：http://lorry1113.javaeye.com/blog/513851
关键字: oracle 存储过程
1.基本结构 CREATE OR REPLACE PROCEDURE 存储过程名字 (     参数1 IN NUMBER,     参数2 IN NUMBER ) IS 变量1 INTEGER :=0; 变量2 DATE; BEGI...]]></description><category></category></item><item><title><![CDATA[HQL语句大全（转载）]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/49707637</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/49707637</guid><author>hai_zai</author><pubDate>Sat, 07 Nov 2015 23:17:33 +0800</pubDate><description><![CDATA[HQL语句大全（转载）

Hibernate配备了一种非常强大的查询语言，这种语言看上去很像SQL。但是不要被语法结构 上的相似所迷惑，HQL是非常有意识的被设计为完全面向对象的查询，它可以理解如继承、多态 和关联之类的概念。

第 15 章 HQL: Hibernate查询语言

Hibernate配备了一种非常强大的查询语言，这种语言看上去很像SQL。但是不要被语法结构 上的相似所迷惑，HQL]]></description><category></category></item><item><title><![CDATA[计算器（2）]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079821</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079821</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:39:28 +0800</pubDate><description><![CDATA[function sum1(id){
var x = parseInt(document.getElementById("x").value);
var y = parseInt(document.getElementById("y").value);
switch (id)
{
case '1':
sum = x+y;
document.getElementById("sum").]]></description><category></category></item><item><title><![CDATA[点击按钮，变换颜色]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079791</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079791</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:37:25 +0800</pubDate><description><![CDATA[function bgcolor1(obj)
{
switch(obj.id)
{
case '1':
document.getElementById("b1").bgColor="green";
break;
case '2':
document.getElementById("b1").bgColor="blue";
break;
case '3':
document.g]]></description><category></category></item><item><title><![CDATA[计算器（1）]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079811</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079811</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:36:46 +0800</pubDate><description><![CDATA[New Document 


function sum(){
var amount = parseInt(document.getElementById("amount").value);

var price = parseInt(document.getElementById("price").value);

var money = parseInt(document.ge]]></description><category></category></item><item><title><![CDATA[javascript里function函数的用法]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079739</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079739</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:32:15 +0800</pubDate><description><![CDATA[function add(a,b){
alert(a+b);
}
//add();


function funTest(){
var a=11;
var b=22;
add(a,b);
}


//点击事件函数
function clickFun(){
//var form = document.getElementById("form1");
//form.ac]]></description><category></category></item><item><title><![CDATA[javascript常用对象--String的用法]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079695</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079695</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:31:19 +0800</pubDate><description><![CDATA[//定义字符串
var str = "abc";
var str1 = new String("efg");
//alert(str+123);
//alert(str.toUpperCase());//大写
//alert(str.toLowerCase());//小写
//alert(str.indexOf('a'));//字串在对象中的索引位置
//alert(str.subs]]></description><category></category></item><item><title><![CDATA[javascript常用对象--Math的用法]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079627</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079627</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:24:46 +0800</pubDate><description><![CDATA[Math的用法 
  
//alert(Math.PI);
//alert(Math.ceil(3.54));
//alert(Math.floor(3.54));
//alert(Math.round(3.54));


var promote = new Array(3);
promote[0] = "拍卖区又有新货到了，赶快来捡便宜啊......"
promote[1] ]]></description><category></category></item><item><title><![CDATA[javascript常用对象的源码--Array用法]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079449</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079449</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:14:15 +0800</pubDate><description><![CDATA[Array用法 
  
 //数组定义的三种方式：
//格式１：数组对象名称=new Array([元素个数])
var arr1 = new Array(10);
alert(arr1.length);
　　 //格式２：数组对象名称=new Array([[元素1][，元素2，...]])
     var arr2 = new Array([1,2,3,4]);
　　 //格]]></description><category></category></item><item><title><![CDATA[javaScript常用对象的--Date的用法]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079521</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079521</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:13:45 +0800</pubDate><description><![CDATA[Date的用法 
  
var nowDate = new Date();
//alert(nowDate);
alert(nowDate.getYear()+"-"+(nowDate.getMonth()+1)+"-"+nowDate.getDate()+" "+nowDate.getHours()+":"+nowDate.getMinutes()+":"+nowDate.getSeco]]></description><category></category></item><item><title><![CDATA[动态图片切换]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079421</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079421</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:03:18 +0800</pubDate><description><![CDATA[New Document 
  
function xs(){
var oldImg=document.getElementById("oldimg");
var btn=document.getElementById("btn1");
btn.setAttribute("value","返回");
oldImg.src="desk_001.jpg";
btn.onclick=yc;]]></description><category></category></item><item><title><![CDATA[获取系统当前时间]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079415</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079415</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:02:18 +0800</pubDate><description><![CDATA[New Document 
 
function time(){
var t=new Date();//获取系统当前时间
var h=t.getHours();
var m=t.getMinutes();
var s=t.getSeconds();
var result=h+":"+m+":"+s;
//获取input框的对象
var txtTime = document.get]]></description><category></category></item><item><title><![CDATA[间隔1秒刷新图片]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079393</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079393</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:00:47 +0800</pubDate><description><![CDATA[//更新图片
function changeImg(){
//图片对象
var img = document.getElementById("imgId");
//用随机数获取图片名称
var num = "images/"+Math.floor(Math.random()*12+1)+".jpg";
img.setAttribute("src",num);
}
//每个一秒钟刷新]]></description><category></category></item><item><title><![CDATA[动态获取系统当前时间]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079403</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079403</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 19:00:07 +0800</pubDate><description><![CDATA[function play()
  {bgcolor="red"
   var b=0;
   var my=new Date();
   var h=my.getHours();
   var m=my.getMinutes();
   var s=my.getSeconds();
   var mth=my.getMonth();
   var year=my.getFullY]]></description><category></category></item><item><title><![CDATA[动态获取系统当前时间]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45079349</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45079349</guid><author>hai_zai</author><pubDate>Thu, 16 Apr 2015 18:55:36 +0800</pubDate><description><![CDATA[function play()
  {bgcolor="red"
   var b=0;
   var my=new Date();
   var h=my.getHours();
   var m=my.getMinutes();
   var s=my.getSeconds();
   var mth=my.getMonth();
   var year=my.getFullY]]></description><category></category></item><item><title><![CDATA[CSS中font-style的斜体属性Italic与oblique的区别]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/45022937</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/45022937</guid><author>hai_zai</author><pubDate>Mon, 13 Apr 2015 10:56:12 +0800</pubDate><description><![CDATA[CSS中font-style的斜体属性Italic与oblique的区别   
    

首先要明白字体是怎么回事。一种字体有粗体、斜体、下划线、删除线等诸多属性。 但是并不是所有字体都做了这些，一些不常用的字体，或许就只有个正常体，如果你用Italic，就没有效果了~这时候你就要用Oblique. 可以理解成Italic是使用文字的斜体，Oblique是让没有斜体属性的文字倾斜！

]]></description><category></category></item><item><title><![CDATA[线程：实现Runnable车站卖票，但是代码还不成熟]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/43526135</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/43526135</guid><author>hai_zai</author><pubDate>Thu, 05 Feb 2015 11:55:16 +0800</pubDate><description><![CDATA[车站卖票，


class Ticket02 implements Runnable{
private int ticket = 10;

//卖票操作
public void run() {

for(int i=0;i
if(this.ticket>0){
ticket--;
System.out.println((Thread.currentThread().getN]]></description><category></category></item><item><title><![CDATA[SQL分类]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/43526113</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/43526113</guid><author>hai_zai</author><pubDate>Thu, 05 Feb 2015 11:53:01 +0800</pubDate><description><![CDATA[SQL分类







SQL分类：
DDL—数据定义语言(CREATE，ALTER，DROP，DECLARE)
DML—数据操纵语言(SELECT，DELETE，UPDATE，INSERT)
DCL—数据控制语言(GRANT，REVOKE，COMMIT，ROLLBACK)

首先,简要介绍基础语句：
1、说明：创建数据库
CREATE DATABASE datab]]></description><category></category></item><item><title><![CDATA[使用随机文件流类RandomAccessFile将一个文本文件倒置读出。]]></title><link>https://blog.youkuaiyun.com/hai_zai/article/details/43487603</link><guid>https://blog.youkuaiyun.com/hai_zai/article/details/43487603</guid><author>hai_zai</author><pubDate>Wed, 04 Feb 2015 16:04:49 +0800</pubDate><description><![CDATA[import java.io.*;   
import java.util.*;  
//使用随机文件流类RandomAccessFile将一个文本文件倒置读出。
public class Home {
 
   public static final void main(String[] args) {   
       try {   
           File f = ]]></description><category></category></item></channel></rss>