锘??xml version="1.0" encoding="utf-8" standalone="yes"?>九月婷婷亚洲综合在线,亚洲欧洲精品国产区,亚洲精品亚洲人成在线麻豆 http://www.tkk7.com/Johncn/archive/2006/01/07/27021.htmlZhuJun ZhuJun Sat, 07 Jan 2006 12:46:00 GMT http://www.tkk7.com/Johncn/archive/2006/01/07/27021.html http://www.tkk7.com/Johncn/comments/27021.html http://www.tkk7.com/Johncn/archive/2006/01/07/27021.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/27021.html http://www.tkk7.com/Johncn/services/trackbacks/27021.html 欏圭洰涓疄鐜板璇█鍥介檯鍖栭兘鏄氳繃浣跨敤<bean:message>鏍囩鍜岃祫婧愭枃浠?浣嗘槸濡傛灉鎶婃墍鏈夌殑欏甸潰璇存槑閮藉姞鍏ヤ竴涓祫婧愭枃浠朵腑,閫氬父鐨勫悗鏋滄槸榪欎釜鏂囦歡浼氳秺鏉ヨ秺闀?鑰屼笖寮鍙戜腑涓嶅悓鐨勪漢鍔犲叆鐨勬牸寮忎篃涓嶄竴鐩?鍒版渶鍚庡緢鍙兘鏄皝涔熶笉鐭ラ亾鍒板簳璧勬簮鏂囦歡涓湁浜涗粈涔堝唴瀹?濡傛灉鏈夋柊鐨勫紑鍙戜漢鍛樺姞鍏ョ殑璇?寰堝彲鑳藉彧濂藉啀鑷繁闇瑕佺敤鍒頒粈涔堝啀緇х畫鍔犺繘鏂囦歡.鏈鍚庣淮鎶よ繖鏍風殑鏂囦歡鍙樻垚寰堢棝鑻︾殑浜嬫儏. 鎵浠ユ兂瑕佷嬌鐢ㄥ涓祫婧愭枃浠?榪欐牱鍙互鏍規嵁涓嶅悓鐨勫垝鍒嗚鍒?鍔熻兘,浣嶇疆,璇嶆?灝嗕笉鍚岀殑鍐呭鏀懼叆涓嶅悓鐨勬枃浠?鏂逛究緇存姢. 鍏蜂綋鐨勫仛娉?1.鍒涘緩灞炴ф枃浠跺茍涓斿湪struts-config.xml涓負姣忎竴涓枃浠跺0鏄庝竴涓猰essage-resources鍏冪礌銆?/STRONG>
< message-resources parameter ="com.oreilly.strutsckbk.MessageResources" /> < message-resources parameter ="com.oreilly.strutsckbk.LabelResources" key="labels" > </ message-resources > < message-resources parameter ="com.oreilly.strutsckbk.HeaderResources" key="headers" > </ message-resources > 娉ㄦ剰 :榪欓噷澶氫簡涓涓睘鎬?STRONG>key ,榪欏氨鏄敤鏉ュ湪欏甸潰鏍囩涓尯鍒嗕笉鍚岀殑璧勬簮鏂囦歡鐨?鏍囩榛樿鏄嬌鐢ㄦ病鏈夎鏄?STRONG>key鍊肩殑閭d釜璧勬簮鏂囦歡.2.浣跨敤<bean:message>鏍囩:
< bean:message bundle ="labels" key ="label.url" /> 娉ㄦ剰:榪欓噷鐨?STRONG>bundle灞炴у氨鏄敤鏉ユ寚鏄庝笂闈㈡彁鍒扮殑key 灞炴х殑,浠ヨ〃鏄庤繖涓?lt;bean:message>鏍囩鏄浣跨敤鍝釜璧勬簮鏂囦歡. 璇存槑:鍙兘鍦╯truts1.1浠ヤ笂鐗堟湰浣跨敤澶氫釜璧勬簮鏂囦歡,struts1.0涓嶆敮鎸?lt;message-resource>灞炴?鎵浠ヤ笉鑳藉疄鐜頒笂闈㈢殑鐢ㄦ硶. ]]> [Tomcat] 淇敼Tomcat绔彛鍙?/title> http://www.tkk7.com/Johncn/archive/2006/01/02/26406.htmlZhuJun ZhuJun Mon, 02 Jan 2006 15:42:00 GMT http://www.tkk7.com/Johncn/archive/2006/01/02/26406.html http://www.tkk7.com/Johncn/comments/26406.html http://www.tkk7.com/Johncn/archive/2006/01/02/26406.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/26406.html http://www.tkk7.com/Johncn/services/trackbacks/26406.html
瀹夎浜哋racle鍚?鍚姩Tomcat鏃跺嚭鐜伴敊璇?
Error starting endpoint java.net.BindException: Address already in use: JVM_Bind:8080
鍘熸潵Oracle鐨凷ervlet Engine涔熶嬌鐢ㄤ簡8080绔彛.閭e氨鏉ヤ慨鏀筎omcat鐨勭鍙?
棣栫浉鎵懼埌Tomcat 5.0\conf\server.xml 鏂囦歡,鐒跺悗鎵懼埌涓嬮潰鐨勪唬鐮?
port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" />
淇敼 port="8080" 涓轟綘鎯寵鐨勭鍙e氨鍙互浜?
]]> [Velocity] Velocity 鍙傝冭祫鏂?/title> http://www.tkk7.com/Johncn/archive/2006/01/02/26400.htmlZhuJun ZhuJun Mon, 02 Jan 2006 15:25:00 GMT http://www.tkk7.com/Johncn/archive/2006/01/02/26400.html http://www.tkk7.com/Johncn/comments/26400.html http://www.tkk7.com/Johncn/archive/2006/01/02/26400.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/26400.html http://www.tkk7.com/Johncn/services/trackbacks/26400.html 闃呰鍏ㄦ枃 ]]> [Eclipse] 鍦‥clipse涓畨瑁匳isual Editor鎻掍歡 http://www.tkk7.com/Johncn/archive/2006/01/02/26398.htmlZhuJun ZhuJun Mon, 02 Jan 2006 15:22:00 GMT http://www.tkk7.com/Johncn/archive/2006/01/02/26398.html http://www.tkk7.com/Johncn/comments/26398.html http://www.tkk7.com/Johncn/archive/2006/01/02/26398.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/26398.html http://www.tkk7.com/Johncn/services/trackbacks/26398.html 鍦‥clipse涓繘琛孏UI寮鍙戦渶瑕佸畨瑁匳isual Editor鎻掍歡: 1.Install Omondo UML(鍖呮嫭浜哣E鎻掍歡鎵闇瑕佺殑EMF,GEF,榪樺寘鎷琔ML2鎻掍歡):
2.Install Visual Editor鎻掍歡:
鍒?/FONT>http://www.eclipse.org/vep/ 涓嬭澆VE-runtime-1.0.2.1.zip;
灝哣E -runtime-1.0.2.1.zip瑙e帇鍒癱:\eclipse-plugins(鍙互鏄換浣曠洰褰?涓?鍦‥clipse鐨勫畨瑁呰礬寰勪笅鐨刲inks 鐩綍涓緩绔嬩竴涓猯ink鏂囦歡,姣斿gui.ve.link,鏂囦歡鍐呭涓?nbsp; path=c:/eclipse-plugins/VE-runtime- 1.0.2.1, 鍗寵繖涓猯ink鏂囦歡瑕佸搴斾竴涓垰瑙e帇鍚庣殑鎻掍歡鐩綍銆?娉ㄦ剰:姝ょ洰褰曚腑搴斿寘鍚玡clipse/(features|plugins)緇撴瀯);
鍚姩eclipse鍗沖彲,瀹夎瀹屾垚;
3.鍚庢湡璁劇疆:
鐐瑰嚮 Window 鑿滃崟錛岄夋嫨 Customize Perspective鈥?/SPAN>
Submenus 鏍忕洰涓嬮夋嫨 New
Shortcut Categories 涓嬮夋嫨 Java
Shortcuts 涓湪 Visual Class 鍓嶅垝鍕?/SPAN>
Submenus 鏍忕洰涓嬮夋嫨 Show View
Shortcut Categories 涓嬮夋嫨 Basic
Shortcuts 涓湪 Palette 鍓嶅垝鍕?/SPAN>
閫氳繃鑿滃崟璋冨嚭Palette 錛?/SPAN>Window | Show View | Palette
浠?SPAN lang=EN-US>Menu 鎵撳紑Properties View錛?SPAN lang=EN-US style="COLOR: blue">Windows | Show View | Basic | Properties
濂戒簡,鐜板湪new->Visual Class灝卞彲浠ヨ繘琛孏UI鐨勫紑鍙戜簡.
]]>[Velocity] Velocity涓亣鍒扮殑涓涓棶棰?/title> http://www.tkk7.com/Johncn/archive/2006/01/02/26394.htmlZhuJun ZhuJun Mon, 02 Jan 2006 15:18:00 GMT http://www.tkk7.com/Johncn/archive/2006/01/02/26394.html http://www.tkk7.com/Johncn/comments/26394.html http://www.tkk7.com/Johncn/archive/2006/01/02/26394.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/26394.html http://www.tkk7.com/Johncn/services/trackbacks/26394.html 鍦ㄦā鏉夸腑鑰佹槸璁塊棶涓嶅埌瀵硅薄鐨勫睘鎬?鏈鍚庡彂鐜板師鏉ユ槸搴斾負妯℃澘涓闂殑瀵硅薄涓嶆槸涓涓狿ublic綾?灝咰lass鏀逛負Public 鍚庝竴鍒嘜K.鍚庢潵鍒嗘瀽鍙兘鏄洜涓鴻闂潈闄愮殑闂,褰揅lass鏈姞Public鏃?鏄寘鍐呭彲璁塊棶(friendly),鑰屾ā鏉垮鏋滀笌瀵硅薄鐨凜lass涓嶅湪鍚屼竴鍖呬腑鏃惰嚜鐒惰闂笉鍒? ]]> [Hibernate] 涓篐ibernate鎻愪緵JDBC榪炴帴 http://www.tkk7.com/Johncn/archive/2006/01/02/26392.htmlZhuJun ZhuJun Mon, 02 Jan 2006 15:15:00 GMT http://www.tkk7.com/Johncn/archive/2006/01/02/26392.html http://www.tkk7.com/Johncn/comments/26392.html http://www.tkk7.com/Johncn/archive/2006/01/02/26392.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/26392.html http://www.tkk7.com/Johncn/services/trackbacks/26392.html 鍙互閫氳繃3閽熸柟寮忎負Hibernate鎻愪緵JDBC榪炴帴:
1.鐩存帴鎻愪緵JDBC榪炴帴瀵硅薄Connection:
Class.forName( " com.mysql.jdbc.Driver " ); String url = " jdbc:mysql://localhost:3306/HibernateTest?user=root&password= " ; java.sql.Connection conn = DriverManager.getConnection(url); SessionFactory sessionFactory = cfg.buildSessionFactory(); Session session = sessionFactory.openSession(conn);
2.閫氳繃灞炴ф枃浠?/SPAN>hibernate.properties 閰嶇疆 JDBC 鏉ユ簮:
hibernate.show_sql = true hibernate.dialect = net.sf.hibernate.dialect.MySQLDialect hibernate.connection.driver_class = com.mysql.jdbc.Driver hibernate.connection.url = jdbc:mysql: // localhost/HibernateTest hibernate.connection.username = root hibernate.connection.password =
3.閫?SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 瀹嬩綋; LETTER-SPACING: 0.75pt; mso-bidi-font-family: 瀹嬩綋; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-bidi-font-size: 12.0pt">榪?/SPAN>XML 鏂囦歡 hibernate.cfg.xml 榪涜閰嶇疆 :
<? xml version='1.0' encoding='big5' ?> <! DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd" > < hibernate-configuration > < session-factory > <!-- 鏄劇ず瀹為檯鎿嶄綔鏁版嵁搴撴椂鐨凷QL --> < property name ="show_sql" > true </ property > <!-- SQL鏂硅█錛岃繖杈硅瀹氱殑鏄疢ySQL --> < property name ="dialect" > net.sf.hibernate.dialect.MySQLDialect </ property > <!-- JDBC椹卞姩紼嬪簭 --> < property name ="connection.driver_class" > com.mysql.jdbc.Driver </ property > <!-- JDBC URL --> < property name ="connection.url" > jdbc:mysql://localhost/HibernateTest </ property > <!-- 鏁版嵁搴撲嬌鐢ㄨ?nbsp; --> < property name ="connection.username" > caterpillar </ property > <!-- 鏁版嵁搴撳瘑鐮?nbsp; --> < property name ="connection.password" > 123456 </ property > <!-- 瀵硅薄涓庢暟鎹簱琛ㄦ牸鏄犲儚鏂囦歡 --> < mapping resource ="User.hbm.xml" /> </ session-factory > </ hibernate-configuration > ]]>[鍙戞帢Jakarta Commons] 浣跨敤StringUtil綾?/title> http://www.tkk7.com/Johncn/archive/2005/12/27/25619.htmlZhuJun ZhuJun Tue, 27 Dec 2005 11:35:00 GMT http://www.tkk7.com/Johncn/archive/2005/12/27/25619.html http://www.tkk7.com/Johncn/comments/25619.html http://www.tkk7.com/Johncn/archive/2005/12/27/25619.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/25619.html http://www.tkk7.com/Johncn/services/trackbacks/25619.html org.apache.commons.lang.StringUtils涓彁渚涜澶氭湁鐢ㄧ殑瀛楃涓叉搷浣滄柟娉曪紝浜嗚В榪欎簺鏂規硶錛屾垜浠彲浠ラ伩鍏嶈澶氫笉蹇呰鐨勯噸澶嶅伐浣溿備笅闈粙緇嶅叾涓瘮杈冩湁鐢ㄧ殑鍑犱釜鏂規硶錛?BR> 媯鏌ョ┖瀛楃涓詫細
StringUtils.isBlank(String str); StringUtils.isNotBlank(String str);
緙╁啓瀛楃涓詫細
String test = " This is a test of the abbreviation. " System.out.println( StringUtils.abbreviate( test, 10 ) ); [Console杈撳嚭] This is 鏌ユ壘宓屽瀛楃涓詫細
String htmlContent = " <html>\n " + " <head>\n " + " <title>Test Page</title>\n " + " </head>\n " + " <body>\n " + " <p>This is a TEST!</p>\n " + " </body>\n " + " </html> " ; // Extract the title from this XHTML content String title = StringUtils.substringBetween(htmlContent, " <title> " , " </title> " ); System.out.println( " Title: " + title ); [Console杈撳嚭] Title: Test Page 楠岃瘉瀛楃涓詫細
String test1 = " ORANGE " ; String test2 = " ICE9 " ; String test3 = " ICE CREAM " ; String test4 = " 820B Judson Avenue " ; boolean t1val = StringUtils.isAlpha( test1 ); // returns true boolean t2val = StringUtils.isAlphanumeric( test2 ); // returns true boolean t3val = StringUtils.isAlphaSpace( test3 ); // returns true boolean t4val = StringUtils.isAlphanumericSpace( test4 ); // returns true 璁$畻瀛楃涓插嚭鐜伴鐜囷細 StringUtils.countMatches()
File manuscriptFile = new File( " manuscript.txt " ); Reader reader = new FileReader( manuscriptFile ); StringWriter stringWriter = new StringWriter( ); while ( reader.ready( ) ) { writer.write( reader.read( ) ); } String manuscript = stringWriter.toString( ); // Convert string to lowercase manuscript = StringUtils.lowerCase(manuscript); // count the occurrences of "futility" int numFutility = StringUtils.countMatches( manuscript, " futility " ); 姣旇緝涓嶅悓瀛楃涓詫細
int dist = StringUtils.getLevenshteinDistance( " Word " , " World " ); String diff = StringUtils.difference( " Word " , " World " ); int index = StringUtils.indexOfDifference( " Word " , " World " ); System.out.println( " Edit Distance: " + dist ); System.out.println( " Difference: " + diff ); System.out.println( " Diff Index: " + index ); [Console杈撳嚭] Edit Distance: 2 Difference: ld Diff Index: 3
鍙傝冭祫鏂欙細 銆奐akarta Commons Cookbook銆?BR> By Timothy M. O'Brien Publisher : O'Reilly Pub Date : November 2004 ISBN : 0 - 596 - 00706 -X Pages : 400 ]]> [Hibernate絎旇] 緇勪歡(Component)鏄犲皠 http://www.tkk7.com/Johncn/archive/2005/12/22/25115.htmlZhuJun ZhuJun Thu, 22 Dec 2005 10:46:00 GMT http://www.tkk7.com/Johncn/archive/2005/12/22/25115.html http://www.tkk7.com/Johncn/comments/25115.html http://www.tkk7.com/Johncn/archive/2005/12/22/25115.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/25115.html http://www.tkk7.com/Johncn/services/trackbacks/25115.html 緇勪歡(Component)鏄犲皠 澶氱敤鏉ヨ〃紺哄璞$殑浠庡睘鍏崇郴(緇勫悎,鑱氬悎 ).姣斿涓涓鐢熷彲鑳芥湁濮撳悕,騫撮緞,鎬у埆,鎴愮嘩 絳夊睘鎬?鍏朵腑鎴愮嘩鏄彟涓涓璞?鍙堟湁縐戠洰,鍒嗘暟 灞炴?榪欓噷灝遍渶瑕佺敤緇勪歡鏄犲皠鏉ヨ〃鏄箣闂寸殑鍏崇郴. Java浠g爜:
// 瀛︾敓 class Student { private String name; private int age; private String sex; private Grade grade; } // 鎴愮嘩 class Grade { private String subject; private float score; }
鏁版嵁搴?
-- 瀛︾敓琛?/SPAN> create table STUDENT ( ID char ( 32 ) not null , NAME varchar ( 16 ) not null , SEX char ( 1 ), AGE integer , primary key (ID) ); -- 鎴愮嘩琛?/SPAN> create table GRADE ( ID char ( 32 ) not null , student_id char ( 32 ) not null , SUBJECT varchar ( 10 ), SCORE float , primary key (ID), foreign key (student_id) ); Hibernate鏄犲皠鏂囦歡:
<? xml version="1.0" ?> <! DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" > < hibernate-mapping > < class name ="Student" table ="STUDENT" > < id name ="id" type ="string" unsaved-value ="null" > < column name ="ID" sql-type ="char(32)" /> < generator class ="uuid.hex" /> </ id > < property name ="name" type ="string" not-null ="true" > < column name ="NAME" length ="16" not-null ="true" /> </ property > < property name ="sex" type ="char" column ="SEX" /> < property name ="age" type ="int" column ="AGE" /> < component name ="grade" class ="Grade" > < property name ="subject" type ="string" column ="SUBJECT" not-null ="true" /> < property name ="score" type ="float" column ="SCORE" not-null ="true" /> </ component > </ class > </ hibernate-mapping > ]]>[鍙戞帢Jakarta Commons] 浣跨敤LRUMap http://www.tkk7.com/Johncn/archive/2005/12/15/24088.htmlZhuJun ZhuJun Thu, 15 Dec 2005 11:59:00 GMT http://www.tkk7.com/Johncn/archive/2005/12/15/24088.html http://www.tkk7.com/Johncn/comments/24088.html http://www.tkk7.com/Johncn/archive/2005/12/15/24088.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/24088.html http://www.tkk7.com/Johncn/services/trackbacks/24088.html LRUMap(L east R ecently U sed C ache)鍙敤鏉ヤ繚瀛樻渶榪戜嬌鐢ㄧ殑鍑犳潯璁板綍,渚嬪:淇濆瓨Blog涓殑鏈榪?0鏉$暀璦.澶у鏁版儏鍐電敤浣滅紦瀛?濡?EHCache )鐨勪竴縐嶇瓥鐣?鍏蜂綋浣跨敤鏂規硶濡備笅:
import java.util.Map; import org.apache.commons.collections.map.LRUMap; cache = new LRUMap( 5 ); // Populate the cache with 5 stock prices cache.put( " MSFT " , new Float( 0.03 ) ); cache.put( " TSC " , new Float( 0.001 ) ); cache.put( " LU " , new Float( 23.30 ) ); cache.put( " CSCO " , new Float( 242.20 ) ); cache.put( " P " , new Float( 10.23 ) ); // Now use some of the entries in the cache Float cscoPrice = (Float) cache.get( " CSCO " ); Float msPrice = (Float) cache.get( " MSFT " ); Float tscPrice = (Float) cache.get( " TSC " ); Float luPrice = (Float) cache.get( " LU " ); Float pPrice = (Float) cache.get( " P " ); Float msPrice2 = (Float) cache.get( " MSFT " ); // Add another price to the Map, this should kick out the LRU item. cache.put( " AA " , new Float( 203.20 ) ); 姝ゆ椂,緙撳瓨涓殑鍏冪礌涓? [CSCO] [MSFT] [TSC] [LU] [P] [AA] 鐢變簬LRU鏈榪戞病鏈夎璁塊棶,鎵浠ュ綋AA鍔犲叆鏃?鐢變簬瓚呰繃浜嗙紦瀛樼殑鏈澶у閲?5),鎵浠ヨ鍓旈櫎浜嗙紦瀛?
鍙傝冭祫鏂? << Jakarta Commons Cookbook >> By Timothy M. O ' Brien Publisher : O ' Reilly Pub Date : November 2004 ISBN : 0 - 596 - 00706 - X Pages : 400
]]> [Hibernate絎旇] 緇ф壙鏄犲皠 http://www.tkk7.com/Johncn/archive/2005/09/11/12645.htmlZhuJun ZhuJun Sat, 10 Sep 2005 16:21:00 GMT http://www.tkk7.com/Johncn/archive/2005/09/11/12645.html http://www.tkk7.com/Johncn/comments/12645.html http://www.tkk7.com/Johncn/archive/2005/09/11/12645.html#Feedback 0 http://www.tkk7.com/Johncn/comments/commentRss/12645.html http://www.tkk7.com/Johncn/services/trackbacks/12645.html 瀵逛簬瀵硅薄鐨勭戶鎵垮叧緋? 寤鴻鈥滄瘡涓媯電被緇ф壙鏍戝搴斾竴涓〃鈥?鍗沖姣忎竴涓瓙綾婚兘榪涜浣跨敤<subclass>澹版槑銆?渚嬪:
鏈変竴涓熀綾? class User, 涓や釜瀛愮被: class Admin鍜?class Guest.
鍒欐柊寤轟竴涓〃鏍兼潵瀵瑰簲榪欎釜緇ф壙綾繪暟:
create table USER ( ID char ( 32 ) not null , DISCRIMINATOR_USERTYPE varchar ( 255 ) not null , NAME varchar ( 16 ) not null , PASSWORD varchar ( 16 ) not null , USER_LEVEL integer , POWER_OTHER varchar ( 255 ), GUEST_OTHER varchar ( 255 ), primary key (ID) );
鍏朵腑瀛楁 DISCRIMINATOR_USERTYPE 鏉ヨ褰曞偍瀛樼殑綾誨埆鏄睘浜?/SPAN>User 銆?/SPAN>Admin 鎴栨槸 Guest 鐨勮褰曪紝濡傛灉璇ュ瓧孌墊槸 ParentUser 錛屽垯琛ㄧず璇ョ瑪鏁版嵁鏄?/SPAN>User 綾誨埆錛屽鏋滄槸 ADMIN 錛岃〃紺烘槸 Admin 鐨勮褰曪紝濡傛灉鏄?/SPAN>GUEST 錛岃〃紺烘槸 Guest 鐨勮褰? 鏄犲儚鏂囦歡:
<? xml version="1.0" ?> <! DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" > < hibernate-mapping > < class name ="com.zj.User" table ="USER" discriminator-value ="ParentUser" > < id name ="id" type ="string" unsaved-value ="null" > < column name ="ID" sql-type ="char(32)" /> < generator class ="uuid.hex" /> </ id > < discriminator column ="DISCRIMINATOR_USERTYPE" type ="string" /> < property name ="name" type ="string" not-null ="true" > < column name ="NAME" length ="16" not-null ="true" /> </ property > < property name ="password" type ="string" not-null ="true" > < column name ="PASSWORD" length ="16" not-null ="true" /> </ property > < subclass name ="com.zj.Admin" discriminator-value ="ADMIN" > < property name ="level" type ="integer" column ="ADMIN_LEVEL" /> < property name ="otherOfPower" type ="string" column ="POWER_OTHER" /> </ subclass > < subclass name ="com.zj.Guest" discriminator-value ="GUEST" > < property name ="otherOfGuest" type ="string" column ="GUEST_OTHER" /> </ subclass > </ class > </ hibernate-mapping > 娉ㄦ剰涓婇潰鏂囦歡涓?鍦ㄦ槧鍍忓瓙綾誨埆鏃訛紝浣跨敤 <subclass> 鎸囨槑鏄犲儚鐨勫瓙綾誨埆浠ュ強鍏?/SPAN>discriminator-value鏉ユ寚瀹? ]]>
主站蜘蛛池模板:
一区二区免费视频 |
免费在线观看你懂的 |
成人无码区免费视频观看
|
a毛片免费全部播放完整成 |
天天天欲色欲色WWW免费 |
国产亚洲免费的视频看 |
色多多免费视频观看区一区 |
中文字幕影片免费在线观看 |
亚洲AV无码乱码麻豆精品国产 |
a国产成人免费视频 |
国产中文在线亚洲精品官网 |
免费在线观看黄网 |
美女视频黄a视频全免费网站色窝 |
亚洲精品无码午夜福利中文字幕 |
国产精品怡红院永久免费 |
亚洲黄色在线观看网站 |
99久久综合精品免费 |
亚洲人成亚洲精品 |
久久这里只精品热免费99 |
亚洲网址在线观看你懂的 |
四虎免费在线观看 |
无码日韩精品一区二区三区免费 |
国产精品亚洲av色欲三区 |
日本高清免费aaaaa大片视频 |
日本亚洲免费无线码 |
免费鲁丝片一级在线观看 |
日本亚洲欧美色视频在线播放 |
国产a级特黄的片子视频免费 |
一区二区三区在线免费 |
国产午夜亚洲不卡 |
无码少妇一区二区浪潮免费 |
国产成人免费ā片在线观看老同学 |
亚洲成av人片在线天堂无 |
国产一级理论免费版 |
亚洲w码欧洲s码免费 |
日本亚洲欧美色视频在线播放 |
亚洲视频精品在线观看 |
亚洲精品无码乱码成人 |
亚洲国产香蕉人人爽成AV片久久
|
国产高潮流白浆喷水免费A片 |
亚洲国产精品嫩草影院在线观看 |