ϵͳѧϰhibernateÖ®Ò»£ºÀûÓÃhibernateÖеÄSchemaExportÉú³ÉÊý¾Ý - ±à³ÌÈëÃÅÍø
n()
12¡¡¡¡¡¡¡¡¡¡¡¡.addClass(User.class);
13
14¡¡¡¡¡¡¡¡//Éú³É²¢Êä³ösqlµ½Îļþ£¨µ±Ç°Ä¿Â¼£©ºÍÊý¾Ý¿â
15¡¡¡¡¡¡¡¡SchemaExport dbExport=new SchemaExport(conf);
16¡¡¡¡¡¡¡¡dbExport.create(true, true);
17¡¡¡¡¡¡¡¡¡¡¡¡}
18}
6¡¢½¨Á¢log4j.propertiesÈÕÖ¾Îļþ
log4j.rootLogger=warn, stdout PS£ºÒªÔÚmysqlÊý¾Ý¿âÀïÃæÏȽ¨Á¢ºÃusertest±í£¬È»ºóÔËÐÐUserTestÀ࣬ÕâÑù¾Í¿ÉÒÔ˳Àûͨ¹ýhibernate3ÌṩÁË×Ô´øµÄ¹¤¾ßhbm2ddl£¬½¨Á¢¸ù¾ÝÄãµÄ¶ÔÏó½¨Á¢Êý¾Ý¿âÏà¹Ø±í¡£ ´ò¿ªmysqlÊý¾Ý¿â£º ´ó¹¦¸æ³É£¡ |
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |
- vbscriptºÍjavascript°æµÄ15λ, 18λµÄÉí·ÝÖ¤ºÅÂëµÄÑéÖ¤º¯Êý.ÒÔ¼°¸ù¾ÝÉí·Ý֤ȡʡ·Ý,ÉúÈÕ,ÐÔ±ð
- windows2003Îļþ·þÎñÆ÷µÄ°²×°·½·¨(ͼÎĽ̳Ì)
- SpringѧϰµãµÎ£¬¡¶Spring in Action¡·±Ê¼Ç£¨Áù£© - ±à³ÌÈëÃÅÍø
- IE6ʹÓø¡¶¯È¥µôÔªËØÖеĶàÓà¿Õ°×¼ä¾à
- ²ËÄñÉÁ¿Í:ÎÒ½«FlashËزÄ"͵"³öÀ´
- »ùÓÚEclipseµÄǶÈëʽarm-linux¿ª·¢Óëµ÷ÊÔ»·¾³
- ³¬³éÏóͼ±ê -- Area o.42
- LinuxÉÏÁ¬½ÓMicrosoft SQL Server 2005
- Photoshopµ÷ɫʵÀý:ÌðÃÀµÄµ³ÈÉ«µ÷Ä£ÌØÅ®º¢
- Linux°ü¹ÜÀíËÙ²é±í