JAVA¶ÔÏóÐòÁл¯Óë·´ÐòÁл¯
¡¡¡¡¶ÔÏóÐòÁл¯ºÍ·´ÐòÁл¯µÄ×÷ÓÃÊÇʲô£¬Ò»Ö±²»ÖªµÀ£¬¿´¿´ÏÂÃæµÄ½éÉÜÁ˽âÁËһЩ¡£
¡¡¡¡ÎÒÃǶ¼ÖªµÀ£¬µ±ÎÒÃÇnewÒ»¸ö¶ÔÏóµÄʱºò£¬Java¾Í»áÔÚÄÚ´æÖд´½¨Ò»¸öÏàÓ¦µÄ¶ÔÏó¹©ÎÒÃǺóÐøʹÓá£Èç¹ûÎÒÃÇ°ÑÕâ¸öJava³ÌÐò¹ØµôµÄ»°£¬ÄÇôÕâ¸ö¶ÔÏóÒ²¾ÍËæ×ÅÎÒÃdzÌÐòµÄ¹Ø±Õ¶øÏûʧ£¬ÈçºÎ²ÅÄÜÔÚÕâÖÖÇé¿öϼÌÐø±£´æÕâ¸ö¶ÔÏóÄØ£¿Õâ¾ÍÊÇJavaÐòÁл¯Òª×öµÄÊÂÇé¡£¼òµ¥µØ˵£¬Java¶ÔÏóÁл¯¾ÍÊÇÒª°ÑÄÚ´æÖеÄJava¶ÔÏó±£´æÏÂÀ´(³Ö¾Ã»¯)£¬ÒÔ±ã¿ÉÒÔÔÚÍøÂçÉÏ´«Êä»ò½ñºó¼ÌÐøʹÓÃÕâ¸ö¶ÔÏóÖеÄÊý¾Ý¡£
¡¡¡¡ÄÇô¶ÔÏóÐòÁл¯µ½µ××öÁËÄÄЩÊÂÄØ£¿ÆäʵºÜ¼òµ¥£¬Ò»¸ö¶ÔÏó¶ÔÓÚÎÒÃÇÀ´ËµµÄÒâÒåÆäʵ¾ÍÊǶÔÏóÀï±£´æµÄÄÇЩÊý¾Ý£¬ÐòÁл¯¾ÍÊÇ°ÑÕâЩÊý¾Ýת»»³É¶þ½øÖƱíʾµÄ¶ÔÏóÁ÷£¬Äã¿ÉÒÔ°ÑËüͨ¹ýÍøÂç´«Êäµ½Ô¶³Ì£¬µ±È»£¬Ò²¿ÉÒÔ°ÑÕâЩÐÅÏ¢±£´æÔÚ±¾µØµÄÎļþÀï¡£ÏÂÃæ¸ø³öÒ»¸ö×î¼òµ¥µÄJavaµÄÐòÁл¯Óë·´ÐòÁл¯µÄÀý×Ó£¬¿´¶®Õâ¸öÀý×Ó£¬ÏàÐÅÄãÓ¦¸ÃÒ²ÄܸúÎÒÒ»Ñù£¬´ó¸ÅÀí½âÕâÊÇÔõôһ»ØÊÂÁË¡£
Ê×ÏÈÊÇÒ»¸öPeraonÀࣺ
Person.java
Java´úÂ룺
package com.lanber.serial;
import java.io.Serializable;
public class Person implements Serializable {
private String name;
private int age;
private String sex;
private String nationality;
public Person(String _name, int _age, String _sex, String _nationality) {
this.name = _name;
this.age = _age;
this.sex = _sex;
this.nationality = _nationality;
}
public String toString() {
&
Ïà¹ØÎĵµ£º
ת×Ô£ºhttp://java.mblogger.cn/sadfasfasd/
×òÌì¸ãÁ˶¯Ì¬×Ô¶¯¼ÓÔØÅäÖÃÎļþ£¬ÓÖÓöµ½Â·¾¶ÎÊÌ⣬ÕÒµ½ÕâƪºÜ°ôµÄÎÄÕ£¬ÊÕ²Øһϣ¬À´×Ô
http://java.chinaitlab.com/base/532062_3.html http://www.blogjava.net/killme2008/archive/2007/06/08/122758.html
Ç ......
£¨Ò»£©java ¾²Ì¬´úÂë¿é ¾²Ì¬·½·¨Çø±ð
Ò»°ãÇé¿öÏÂ,Èç¹ûÓÐЩ´úÂë±ØÐëÔÚÏîÄ¿Æô¶¯µÄʱºò¾ÍÖ´ÐеÄʱºò,ÐèҪʹÓþ²Ì¬´úÂë¿é,ÕâÖÖ´úÂëÊÇÖ÷¶¯Ö´ÐеÄ;ÐèÒªÔÚÏîÄ¿Æô¶¯µÄʱºò¾Í³õʼ»¯,ÔÚ²»´´½¨¶ÔÏ ......
ÔÚJavaÖУ¬²»Í¬µÄÀ඼ÓÐ×Ô¼ºµ¥¶ÀµÄCache»úÖÆ£¬ÊµÏֵķ½·¨Ò²¿ÉÄÜÓÐËù²»Í¬£¬ÎÄÕÂÁоÙÁËJavaÖг£¼ûµÄ¸÷ÀàCache»úÖƵÄʵÏÖ·½·¨£¬Í¬Ê±½øÐÐÁË×ۺϵıȽϡ£
OSCache
OSCacheÊǸöÒ»¸ö¹ã·º²ÉÓõĸßÐÔÄܵÄJava EE»º´æ¿ò¼Ü£¬OSCacheÄÜÓÃÓÚÈκÎJavaÓ¦ÓóÌÐòµÄÆÕͨµÄ»º´æ½â¾ö·½°¸¡£
OSCacheÓÐÒÔÏÂÌص㣺»º´æÈκζÔÏó£¬Äã¿ÉÒÔ²»ÊÜÏÞÖƵ ......
ÕªÖÁSybase¹ÙÍø:
The caller( ) method calls the stored procedure inoutproc:
create proc inoutproc @id int, @newname varchar(50), @newhome Address,
@oldname varchar(50) output, @oldhome Address output as
select @oldname = name, @oldhome = home from xmp where id=@id
update xmp set name ......
1¡¢Êä³öÖÐÎÄ¡£
JAVAÔÚÍøÂç´«ÊäÖÐʹÓõıàÂëÊÇ"ISO-8859-1"£¬¹ÊÔÚÊä³öʱÐèÒª½øÐÐת»¯£¬È磺
String str="ÖÐÎÄ";
str=new String(str.getBytes("GB2312"),"8859_1");
µ«Èç¹ûÔÚ±àÒë³ÌÐòʱ£¬Ê¹ÓõıàÂëÊÇ“GB2312”,ÇÒÔÚÖÐÎÄƽ̨ÉÏÔËÐд˳ÌÐò£¬²»»á³öÏÖ´ËÎÊÌ⣬һ¶¨Òª×¢Òâ¡£
2¡¢´Ó²ÎÊýÖжÁÈ¡ÖÐÎÄ
ÕâÕýºÃÓëÊä³öÏ ......