¹ØÓÚhibernateÅäÖÃc3p0Á¬½Ó³ØÁ¬½ÓmysqlÎÊÌâ
ǰЩÌì¿´ÁËÀî¸Õ<struts2+hibernate+spring>ÄÇÊéÉϵÄhibernate£¬ÅäÖÃÎļþÒ²ÊÇ°´ÕÕÉÏÃæÇýøhibernate.cfg.xmlÎļþµÄ£¬Student.javaÅäÖõÄStudent.hbm.xmlÎļþ¾õµÃҲûʲôÎÊÌ⣬µ«²»Öªµ½Ôõô»ØʾÍÊDZ¨ connection can not open¡£ÓôÃÆ°¡£¬ºóÀ´ÎҾͰÑÊéÀïÃæµÄÅäÖÃÎļþºÍÔ´Â룬¸´ÖƵ½MyEclipseÏÂÃæµÄÒ»¸öÐÂwebÏîÄ¿ÖУ¬ÔËÐУ¬àËÕæÏÂÐÐÁË£¬Õâ˵Ã÷Ï£¬ÄÇ<propertyname="hibernate.connection.url">jdbc:mysql://localhost:3306/test</property>"test"Êý¾Ý¿â£¬±ØÐëÊÇÏȽ¨Á¢µÄ£¬Òª²»Êǻᱨconnection ´ò²»¿ªµÄ´íÎó¡£ÓÚÊǽÓ×ÅÔËÐÐÏÂÎÒ֮ǰдµÄÄÇÓôÃÆÏîÄ¿£¬ºÙ£¬¾ÓȻҲÐÐÁË¡£ÎÒÒ²ºÜÓôÃÆ°¡£¬Ö®Ç°²»Ò»ÑùµÄÅäÖÃô£¬ÔõôÏÖÔÚ¾ÍÐÐÁËÄØ£¡£¡£¡
ÎÒÌùÏÂÔ´Âë ºÍÅäÖÃÎļþ°É£¬´óÏÀ °ï濴ϵ½µ×ÊÇÕ¦À²£¬
Ò»£ºhibernate.cfg.xmlÎļþ<?xml version='1.0' encoding='GBK'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Generated by MyEclipse Hibernate Tools. -->
<hibernate-configuration>
<session-factory>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<!-- Ö¸¶¨Á¬½ÓÊý¾Ý¿âµÄurl£¬hibernateÁ¬½ÓµÄÊý¾Ý¿âÃû -->
<property name="connection.url">jdbc:mysql://localhost/tt</property>
<!-- Êý¾Ý¿âÓû§Ãû -->
<property name="connection.username">root</property>
<!-- Êý¾Ý¿âÃÜÂë -->
<property name="connection.password">108226</property>
<!--ÓÃc3p0Á¬½Ó³ØÁ¬½ÓËùÔÊÐíµÄ×î´óÁ¬½ÓÊý-->
<
Ïà¹ØÎĵµ£º
ĬÈÏÇé¿öÏÂLinuxÄÚµÄmysqlÊý¾Ý¿âmysql£¬user±íÄÚµÄÓû§È¨ÏÞÖ»ÊǶÔlocalhost¼´±¾»ú²ÅÄܵǽ¡£ÐèÒª¸ü¸ÄȨÏÞ£º
Èçϵķ½Ê½È·ÈÏ£º
root#mysql -h localhost-u mysql -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connectio ......
myphpadmin¹¦ÄÜËäÈ»ÒѾºÜÇ¿£¬µ«Óû§ÌåÑé·½Ãæ²¢²»ºÜºÃ¡£
SQLyog
Mysql-front
EMS MySQL Manager
Mysqlcc
Navicat for MySQL
mysql-gui-tools
MySQL ͼÐι¤¾ß½éÉÜ£¨×ªÔØ£©
1¡¢Navicat
NavicatÊÇÒ»¸öÇ¿´óµÄMySQLÊý¾Ý¿â¹ÜÀíºÍ¿ª·¢¹¤¾ß¡£Navicatµ¼º½Îª×¨Òµ¿ª·¢ÕßÌṩÁËÒ»Ì×Ç¿´óµÄ×ã¹»¼â¶ËµÄ¹¤¾ß£¬µ«Ëü¶ÔÓÚÐÂÓû§ÈÔÈ» ......
±¾ÎÄÕª×ÔI18nGuy
Ö÷Ò³µÄһƪÄÚÈÝ£¬ÔÎĵØÖ·£ºhttp://www.i18nguy.com/unicode/c-unicode.zh-CN.html
Õâ·ÝÎĵµ¼òÒªµÄ˵Ã÷ÁËÈçºÎÐÞ¸ÄÄãµÄC/C++´úÂëʹ֧֮³ÖUnicode¡£ÔÚÕâÀï²¢²»×¼±¸
½âÊÍÌ«¶àÏà¹ØµÄ¼¼Êõϸ½Ú²¢ÇÒÎҵüٶ¨ÄãÒѾ»ù±¾ÊìϤMicrosoftÖ§³ÖUnicodeµÄ·½Ê½¡£
ËüµÄÖ÷ҪĿµÄÊÇ·½±ãÄã²éѯÏà¹ØµÄÊý¾ÝÀàÐͺͺ¯Êý£¬ÒÔ¼°ÐÞ ......
ÔÚ<TCHAR.h>Í·ÎļþÀÓÐÕâôһ×é²Ù×÷ÎļþµÄºê
#define _tfdopen _wfdopen
#define _tfsopen _wfsopen
#define _tfopen _wfope ......
CEO
CEO£¨Chief Executive Officer£©£¬¼´Ê×ϯִÐй٣¬ÊÇÃÀ¹úÈËÔÚ20ÊÀ¼Í60Äê´ú½øÐй«Ë¾ÖÎÀí½á¹¹¸Ä¸ï´´ÐÂʱµÄ²úÎËüµÄ³öÏÖÔÚijÖÖÒâÒåÉÏ´ú±í׎«ÔÀ´¶Ê»áÊÖÖеÄһЩ¾ö²ßȨ¹ý¶Éµ½¾Óª²ãÊÖÖС£
ÔÚÎÒ¹ú£¬CEOÕâ¸ö¸ÅÄî×îÔç³öÏÖÔÚһЩÍøÂçÆóÒµÖС£ÔÚÄÇÀCEOÍùÍùÊÇ×Ô·âµÄ£¬Ò²ºÜÉÙÓÐÈËÈ¥Ñо¿ÕâÒ»³Æν¶ÔÆóÒµµ½µ×Òâζ×Åʲô¡£µ ......