Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

mysqlÖÐÎÄÅÅÐò¼°javaÖÐÎÄÅÅÐò


Ö®ËùÒÔдÕâƪ²©¿Í£¬ÊÇÒòΪǰ¼¸Ìì²ÅÅöµ½ÁËÕâôһ¸öÎÊÌ⣬ÒÔÇ°»¹²»ÖªµÀmysqlÓÐÕâôһ¸öÎÊÌâ¡£
ÎÒÃǵÄϵͳʹÓÃÁËstruts+hibernate£¬Êý¾Ý¿âʹÓõÄÊÇmysql£¬×Ö·û¼¯Í³Ò»Îªutf-8¡£
±¾À´ÒѾ­Íê³ÉÁË£¬µ«ÊÇϵͳʹÓõÄʱºò£¬·¢ÏÖ²é³öÀ´µÄÈËÃûûÓÐ˳Ðò£¬±¾À´ÒÔΪºÜ¼òµ¥£¬ÔÚ²éѯµÄʱºò£¬Ö¸¶¨°´ÕÕnameÅÅÐò¾Í¿ÉÒÔÁË£¬Æñ֪ʵ¼ÊÒ»×ö²Å·¢ÏÖÎÊÌ⣺mysqlÊý¾Ý¿âʹÓÃ×Ö·û¼¯Îªutf-8£¬²éѯ³öÀ´µÄÖÐÎĸù±¾²»ÊÇ°´ÕÕÆ´ÒôÅÅÐòµÄ¡£
ÎҵĽâ¾ö·½°¸´óÖÂÊÇ£º
¢Ù      
ÔÚ
sql
Óï¾äÖÐ×öÊֽţ¬ÔÚ²éѯµÄʱºòÅÅÐò¡£
¢Ú      
Èç¹û²»Ðвéѯ³öÀ´£¬ÔÚ³ÌÐòÖУ¬×Ô¼ºÐ´¸ö·½·¨ÅÅÐò¡£
¢Û      
×î²îµÄ½â¾ö°ì·¨¾ÍÊÇÐÞ
¸Ä
name
×ֶΣ¬×Ö·û¼¯Ê¹ÓÃgbk£¨»ògb2312£©
ÏÔÈ»£¬µÚÒ»ÖÖ·½·¨ÊÇ×î¸ßЧµÄ£¬µÚÈýÖз½·¨ÊÇ×î²î¾¢µÄ¡£
²»ÄÜÖ±½ÓÔÚ³ÌÐòÖиģ¬ÏÈ×ö¼¸¸öÊÔÑ飺
ÊÔÑéÒ»£ºmysqlÖÐÎÄÅÅÐò
×¼±¸¹¤×÷£º
ÔÚmysqlÖн¨Á¢Ò»¸öÊý¾Ý¿â£¬¾ÍʹÓÃtest°É£¬½¨Á½¸ö±ítest1ºÍtest2£¬¾ùÉèÖÃÁ½¸ö×ֶΣ¬idºÍname£¬ÒªÇóÊÇtest1.nameÕâ¸ö×Ö¶ÎʹÓõÄ×Ö·û¼¯ÎªUTF-8£¬test2.nameÕâ¸ö×Ö¶ÎʹÓõÄ×Ö·û¼¯ÎªGBK£¬ÊäÈ뼸ÌõÊý¾Ý£¬¼ÇµÃÒªÊäÈëÖÐÎÄ°¡¡£
½¨±íÓï¾ä£º
£¨1£©test1£º
CREATE TABLE `test1`
(                                 
         
`id` int(4) unsigned NOT NULL
auto_increment,       
         
`name` varchar(20) character set utf8 default NULL,
         
PRIMARY KEY
(`id`)                                 
       
) ;
£¨2£©test2£º
CREATE TABLE `test2`
(                      &n


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

JAVA¶ÌÐŶþ´Î¿ª·¢°ü,JAVA¶ÌÐŶþ´Î¿ª·¢¿Ø¼þ

 JAVA¿ª·¢°ü¹¦Äܼò½é
 
  TerrySMS for Java ÊÇÓÃJAVA¿ØÖÆGSM ModemʵÏÖ¶ÌÐÅÊÕ·¢¹¦ÄܵĿª·¢°ü¡£ÀûÓÃTerrySMS¿ÉÒÔʵÏÖ¿çƽ̨µÄ¶ÌÐÅ·¢ËÍ£¬Ä¿Ç°Ö§³ÖwindowsXP¡¢2000¡¢2003¡¢LinuxµÈ²Ù×÷ϵͳ¡£ÊÇʵÏÖÒµÎñϵͳºÍ¶ÌÐÅϵͳ¼Þ½ÓµÄÀíÏ빤¾ß¡£
 
 
 JAVA¿ª·¢°ü¹¦ÄܽéÉÜ
 
 1¡¢Ä¿Ç°Ö ......

java WEBÈí¼þ¿ª·¢ÖеÄһЩÌå»á

java WEBÈí¼þ¿ª·¢ÖеÄһЩÌå»á£¬ËüÓÉһϵÁÐ֪ʶ×é³É£¬ÎªÁËʵÏÖÒ»¸ö¹²Í¬µÄÄ¿µÄ£¬¼´Ò»¸ö°²È«£¬Îȶ¨£¬¿ÉÀ©Õ¹µÄÈí¼þ¡£
×ܽáÈçÏ£º
1  java»ù´¡
2  ²Ù×÷ϵͳ£¨windows£¬linux£¬unixµÈ£©
3  Êý¾Ý¿â£¨oracle£¬mysql£¬sqlserver£©
4  jsp£¨html£¬css£¬javascript£¬Ajax£¬XMLµÈ£©
5  Jsp·þÎñÆ÷£¨tomc ......

java String.Format() ÈÕÆÚ¸ñʽÓ÷¨

 Ô­ÎÄ´«ËÍÃÅ£ºhttp://solodu.javaeye.com/blog/454546
JDK1.5ÖУ¬StringÀàÐÂÔöÁËÒ»¸öºÜÓÐÓõľ²Ì¬·½·¨String.format():ÏÖÓÐÒ»¸öʱ¼ä'20090903'Ҫת»¯³ÉÖ¸¶¨Ê±¼äµÄjava.util.Date¸ñʽ
private Date getStartGregorianTime(String date) {
Date d_date = DateUtil.parseDate(date);
int year = new ......

Java 2 SDK »·¾³

 
rem ¿´µ½ºÜ¶à³õѧÕß·´¸´ÎÊÕâ¸öÎÊÌ⣬дÁËÒ»¸öºÜ¼òµ¥µÄÒ»¸ö½Å±¾£¬ÓÃÓÚ×Ô¶¯ÉèÖû·¾³±äÁ¿¡£°Ñ´úÂ뿽±´£¬Áí´æΪjavaEnv.bat¡£°²×°ÍêJava 2 SDKÖ®ºó£¬¿ªÒ»¸öÃüÁîÐд°¿Ú,ÊäÈëjavaEnv java2SDKDir(java2SDKDirÊÇÄãµÄjavaµÄ°²×°Ä¿Â¼£¬²»´ø·¾¶×îºóµÄ\¡£Èç¹û°²×°Â·¾¶ÖÐÓпոñ£¬ÇëÓÃjavaEnv "java2SDKDir"¸ñʽ)²¢ÔËÐС£(×¢£ºÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ