ÓÃJava½Ó¿ÚʵÏֻص÷º¯ÊýµÄµÈ¼Û¹¦ÄÜ
ÓÃJava½Ó¿ÚʵÏֻص÷º¯ÊýµÄµÈ¼Û¹¦ÄÜ
Ê×ÏÈ£¬¿´Ò»Ï»ص÷º¯ÊýµÄ¶¨Òå¼°ÆðÔ´£º
¼ò¶øÑÔÖ®£¬»Øµ÷º¯Êý¾ÍÊÇÒ»¸öͨ¹ýº¯ÊýÖ¸Õëµ÷Óõĺ¯Êý£¬Èç¹ûÄã°Ñº¯ÊýµÄÖ¸Õë(µØÖ·)×÷Ϊ²ÎÊý´«µÝ¸øÁíÒ»¸öº¯Êý£¬µ±Õâ¸öÖ¸Õë±»ÓÃΪµ÷ÓÃËüËùÖ¸ÏòµÄº¯Êýʱ£¬ÎÒÃǾÍ˵Êǻص÷º¯Êý¡£
ΪʲôҪʹÓûص÷º¯Êý£¿
ÒòΪ¿ÉÒ԰ѵ÷ÓÃÕßÓë±»µ÷ÓÃÕß·Ö¿ª¡£µ÷ÓÃÕß²»¹ØÐı»µ÷ÓÃÕߣ¬ËùÓÐËüÐèÒªÖªµÀµÄ£¬Ö»ÊÇ´æÔÚÒ»¸ö¾ßÓÐijÖÖÌض¨ÔÐÍ£¬Ä³Ð©ÏÞÖÆÌõ¼þ(Èç·µ»ØֵΪint)µÄµ÷Óú¯Êý¡£
Èç¹ûÏëÖªµÀ»Øµ÷º¯ÊýÔÚʵ¼ÊÖÐÓÐʲô×÷Óã¬ÏȼÙÉèÓÐÒ»ÖÖÇé¿ö£¬ÎÒÃÇÒª±àдһ¸ö¿â£¬ËüÌṩÁËijЩÅÅÐòËã·¨µÄʵÏÖ£¬ÈçðÅÝÅÅÐò¡¢¿ìËÙÅÅÐò¡¢shellÅÅÐò¡¢shakeÅÅÐòµÈµÈ£¬µ«ÎªÁËʹ¿â¸ü¼ÓͨÓ㬲»ÏëÔÙº¯ÊýÖÐǶÈëÅÅÐòÂß¼£¬¶øÈÃʹÓÃÕßÀ´ÊµÏÖÏàÓ¦µÄÂß¼£»»òÕߣ¬ÏëÈÿâ¿ÉÓÃÓÚ¶àÖÖÊý¾ÝÀàÐÍ(int, float, string)£¬´Ëʱ£¬¸ÃÔõô°ìÄØ£¿¿ÉÒÔʹÓú¯ÊýÖ¸Õ룬²¢½øÐлص÷¡£»Øµ÷¿ÉÓÃÓÚͨÐÅ»úÖÆ£¬ÀýÈ磬ÓÐʱҪÔÚ³ÌÐòÖÐÉèÖÃÒ»¸ö¼ÆʱÆ÷£¬Ã¿µ½Ò»¶¨Ê±¼ä£¬³ÌÐò»áµÃµ½ÏàÓ¦µÄ֪ͨ£¬µ«Í¨Öª»úÖƵÄʵÏÖÕ߶ÔÎÒÃǵijÌÐòÒ»ÎÞËùÖª£¬¶ø´Ëʱ£¬¾ÍÐèÓÐÒ»¸öÌض¨ÔÐ͵ĺ¯ÊýÖ¸Õ룬ÓÃÕâ¸öÖ¸ÕëÀ´½øÐлص÷£¬À´Í¨ÖªÎÒÃǵijÌÐòʼþÒѾ·¢Éú¡£
ÔÚJavaÖ§³Ö·½·¨Ö¸Õë֮ǰ£¬Java½Ó¿Ú²»ÄÜÌṩһÖÖʵÏֻص÷º¯ÊýµÄºÃ·½·¨¡£ÊìϤMS-WindowsºÍX Window SystemʼþÇý¶¯±à³ÌÄ£Ð͵Ŀª·¢ÈËÔ±£¬Ï°¹ßÓÚ´«µÝÔÚijÖÖʼþ·¢Éúʱµ÷ÓÃ(¼´ “»Øµ÷”)µÄº¯ÊýÖ¸Õ룬JavaµÄÃæÏò¶ÔÏóÄ£ÐÍÄ¿Ç°²¢²»Ö§³Ö·½·¨Ö¸Õë¡£
JavaµÄ½Ó¿ÚÖ§³ÖÌṩһÖÖ»ñµÃ»Øµ÷µÄµÈ¼Û¹¦ÄܵĻúÖÆ¡£Æä¼¼ÇɾÍÊÇ£º¶¨ÒåÒ»¸ö¼òµ¥½Ó¿Ú£¬²¢ÔڸýӿÚÖÐÉùÃ÷ÎÒÃÇÒªµ÷Óõķ½·¨¡£
ÀýÈ磺¼Ù¶¨ÎÒÃÇÏ£ÍûÔÚij¸öʼþ·¢ÉúʱµÃµ½Í¨Öª¡£ÎÒÃÇ¿ÉÒÔ¶¨ÒåÒ»¸ö½Ó¿Ú£º
public interface InterestingEvent {
// Õâ½öÊÇÒ»¸ö³£¹æ·½·¨¡£Òò´ËÈç¹ûÐèÒª£¬
// Ëü¿ÉÒÔÓзµ»ØÖµ£¬Ò²¿É½ÓÊÕ²ÎÊý
public void interestingEvent();
}
ÕâʹµÃÎÒÃÇ¿ÉÒÔ¿ØÖÆʵÏָýӿÚÀàµÄÈκζÔÏó¡£Òò´Ë£¬ÎÒÃDz»±Ø¹ØÐÄÈκÎÍⲿÀàÐ͵ÄÐÅÏ¢¡£
public class EventNotifer {
private InterestingEvent ie;
private boolean somethingHappened
public EventNotifer(InterestingEvent event) {
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
JavaÊý¾ÝÀàÐÍ
HibernateÊý¾ÝÀàÐÍ
±ê×¼SQLÊý¾ÝÀàÐÍ
byte
byte
TINYINT
short
short
SMALLINT
int
integer
INGEGER
long
long
BIGINT
float
float
FLOAT
double
double
DOUBLE
java.math.BigDecimal
big_decimal
NUMERIC
char, java.lang.Character
character
CHAR(1)
boolean, java.lang.Boole ......
ÒòΪ¾³£°áÀ´°áÈ¥£¬×Ô¼ºÊÕ¼¯µÄºÃµÄ¶«¶«Ò²¾³£¸ú×ÅÎҰᣬ¾³£ÕÒ²»µ½¡£½ñÌìÕûÀíÁËÕûÀí£¬ÒÔºó°Ñ×Ô¼ºÊÕ¼¯µÄһЩС¶«Î÷ÉÏ´«µ½CSDNµÄÏÂÔØƵµÀ“ÎÒµÄ×ÊÔ´”ÀïÈ¥£¨http://xlw2003.download.csdn.net/£©¡£ÒÔºó×Ô¼ºÏëÓÃÁË£¬Ò²ÖªµÀÉÏÄĶùÕÒÈ¥¡£Í¬Ê±ÄØ£¬ÆäËûÅóÓÑÒ²¿ÉÒÔÏÂÔØÀ´Óᣠ......
Ò»¡¢ ¼ò½é
Berkeley DB Java Edition (JE)ÊÇÒ»¸öÍêÈ«ÓÃJAVAдµÄ£¬ËüÊʺÏÓÚ¹ÜÀíº£Á¿µÄ£¬¼òµ¥µÄÊý¾Ý¡£
Äܹ»¸ßЧÂʵĴ¦Àí1µ½1°ÙÍòÌõ¼Ç¼£¬ÖÆÔ¼JEÊý¾Ý¿âµÄÍùÍùÊÇÓ²¼þϵͳ,¶ø²»ÊÇJE±¾Éí¡£
¶ ......
Õ»Óë¶Ñ¶¼ÊÇJavaÓÃÀ´ÔÚRAMÖдæ·ÅÊý¾ÝµÄµØ·½¡£ÓëC++²»Í¬£¬Java×Ô¶¯¹ÜÀíÕ»ºÍ¶Ñ£¬³ÌÐòÔ±²»ÄÜÖ±½ÓµØÉèÖÃÕ»»ò¶Ñ¡£
JavaµÄ¶ÑÊÇÒ»¸öÔËÐÐʱÊý¾ÝÇø,ÀàµÄ¶ÔÏó´ÓÖзÖÅä¿Õ¼ä¡£ÕâЩ¶ÔÏóͨ¹ýnew¡¢newarray¡¢anewarrayºÍmultianewarrayµÈÖ¸ÁÁ¢£¬ËüÃDz»ÐèÒª³ÌÐò´úÂëÀ´ÏÔʽµÄÊÍ·Å¡£¶ÑÊÇÓÉÀ¬»ø»ØÊÕÀ´¸ºÔðµÄ£¬¶ÑµÄÓÅÊÆÊÇ¿ÉÒÔ¶¯Ì¬µØ·ÖÅäÄÚ´æ´ ......