锘??xml version="1.0" encoding="utf-8" standalone="yes"?>丁香五月亚洲综合深深爱,亚洲va在线va天堂成人,亚洲韩国精品无码一区二区三区http://www.tkk7.com/timelyxyz/zh-cnThu, 03 Jul 2025 15:02:43 GMTThu, 03 Jul 2025 15:02:43 GMT60office2011鍦╩acbook pro retina涓殑鏄劇ず闂http://www.tkk7.com/timelyxyz/archive/2012/10/13/390035.htmltimelyxyztimelyxyzSat, 13 Oct 2012 01:53:00 GMThttp://www.tkk7.com/timelyxyz/archive/2012/10/13/390035.htmlhttp://www.tkk7.com/timelyxyz/comments/390035.htmlhttp://www.tkk7.com/timelyxyz/archive/2012/10/13/390035.html#Feedback0http://www.tkk7.com/timelyxyz/comments/commentRss/390035.htmlhttp://www.tkk7.com/timelyxyz/services/trackbacks/390035.html2012.09.19 office for mac 2011鏇存柊鍒?4.2.4鐗堟湰錛屾渶澶х殑鍙樺寲灝辨槸瑙e喅浜唎ffice鍦╬ro retina涓殑鏄劇ず闂銆?/p>

 

媯鏌ュ茍瀹夎鏇存柊鍒?4.2.4涔嬪悗錛屾垜鐨剅etina涓璷ffice鐨勬樉紺哄畬鍏∣K浜?

榪欐槸office for mac team鐨勫畼鏂瑰0鏄庨摼鎺?a title="link">link. 

榪欐槸緗戜笂鍏充簬鍗囩駭鍒?4.2.4涔嬪悗浠嶇劧鏃犳晥鐨勮В鍐蟲柟娉曠殑閾炬帴link2.

 



timelyxyz 2012-10-13 09:53 鍙戣〃璇勮
]]>
union intersecthttp://www.tkk7.com/timelyxyz/archive/2012/10/11/390036.htmltimelyxyztimelyxyzThu, 11 Oct 2012 13:15:00 GMThttp://www.tkk7.com/timelyxyz/archive/2012/10/11/390036.htmlhttp://www.tkk7.com/timelyxyz/comments/390036.htmlhttp://www.tkk7.com/timelyxyz/archive/2012/10/11/390036.html#Feedback0http://www.tkk7.com/timelyxyz/comments/commentRss/390036.htmlhttp://www.tkk7.com/timelyxyz/services/trackbacks/390036.html騫墮泦錛歋et1 union Set2

浜ら泦錛歋et1 intersect Set2



timelyxyz 2012-10-11 21:15 鍙戣〃璇勮
]]>
鍏寵仈琛╯ql updatehttp://www.tkk7.com/timelyxyz/archive/2012/10/10/390037.htmltimelyxyztimelyxyzWed, 10 Oct 2012 03:36:00 GMThttp://www.tkk7.com/timelyxyz/archive/2012/10/10/390037.htmlhttp://www.tkk7.com/timelyxyz/comments/390037.htmlhttp://www.tkk7.com/timelyxyz/archive/2012/10/10/390037.html#Feedback0http://www.tkk7.com/timelyxyz/comments/commentRss/390037.htmlhttp://www.tkk7.com/timelyxyz/services/trackbacks/390037.html姝g‘璇彞
1 update jytuser set userid=(select member.userid from member where member.id=jytuser.owner_id錛?/div>

 

鏈?涓槗閿欑偣錛?nbsp;

1錛夎〃鑷叧鑱斿ソ鍍忚涓嶉氥傛垜鐚滄兂浼氫笉浼氬拰鏌ヨ鏃跺緩绔嬬殑绱㈠紩鏇存敼鏈夊叧銆?/p>

2錛夎繖縐嶅啓娉昿ostgres涓嶆敮鎸?/p>

1 update jytuser,member set jytuser.userid=member.userid where jytuser.owner_id=jmember.id and jytuser.userid=0;

鎶ラ敊濡備笅錛?/p>

 



timelyxyz 2012-10-10 11:36 鍙戣〃璇勮
]]>Add Microsoft SQL JDBC driver to Mavenhttp://www.tkk7.com/timelyxyz/archive/2012/10/09/390038.htmltimelyxyztimelyxyzTue, 09 Oct 2012 06:40:00 GMThttp://www.tkk7.com/timelyxyz/archive/2012/10/09/390038.htmlhttp://www.tkk7.com/timelyxyz/comments/390038.htmlhttp://www.tkk7.com/timelyxyz/archive/2012/10/09/390038.html#Feedback0http://www.tkk7.com/timelyxyz/comments/commentRss/390038.htmlhttp://www.tkk7.com/timelyxyz/services/trackbacks/390038.html鏈榪戝湪鍋氭暟鎹悓姝ョ殑欏圭洰錛岃繃紼嬩腑鎺ヨЕ浜唖pring+jdbc鐨勫紑鍙戞ā寮?IDE: sts)錛岀劧鍚庡紑濮嬩嬌鐢╩aven綆$悊欏圭洰銆傜洰鍓嶇鍒扮殑涓涓棶棰樻槸鍦ㄦ湰鍦版坊鍔犱竴涓猺epository錛屽姞鐨勬槸鐢ㄤ簬榪炴帴sqlserver鐨勯┍鍔ㄥ寘sqljdbc4.jar銆傛垜鍦ㄥ緢澶歮aven浠撳簱閲岄兘娌℃壘鍒拌繖涓猨ar錛屽彧鑳芥墜鍔ㄧ殑涓嬭澆鏉ワ紝鐒跺悗娣誨姞鍒版湰鍦頒粨搴撻噷銆傚彂鐜拌繖涓寘濂藉儚寰堝浜烘病鏈夋坊鍔犳垚鍔燂紝鎴戝湪榪欓噷鎵懼埌浜嗚В鍐蟲柟娉?a title="http://claude.betancourt.us/add-microsoft-sql-jdbc-driver-to-maven/">http://claude.betancourt.us/add-microsoft-sql-jdbc-driver-to-maven/銆?/p>

涓昏姝ラ濡備笅錛?/p>

1. 鏈湴涓嬭澆sqljdbc4.jar

2. 瑙e帇鍒版湰鍦版枃浠跺す涓紝騫舵壘鍒皊qljdbc4.jar璺緞

3. 鎵撳紑鍛戒護紿楀彛錛屾墽琛屼互涓嬭鍙ワ紙鍓嶆彁錛氬厛閰嶇疆濂絤aven鐜鍙橀噺錛?/p>

1 C:\Users\nbxyz>mvn install:install-file -Dfile=e:\sqljdbc4.jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0 -Dpackaging=jar

4."BUILD SUCCESS"鍗蟲坊鍔犳垚鍔?/p>



鐢熸垚鐨刾om鏂囦歡濡備笅

1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4   <modelVersion>4.0.0</modelVersion>
5   <groupId>com.microsoft.sqlserver</groupId>
6   <artifactId>sqljdbc4</artifactId>
7   <version>4.0</version>
8   <description>POM was created from install:install-file</description>
9 </project>

 



timelyxyz 2012-10-09 14:40 鍙戣〃璇勮
]]>
閫氳繃url鑾峰彇鍥劇墖鐨勫楂?/title><link>http://www.tkk7.com/timelyxyz/archive/2012/09/26/390039.html</link><dc:creator>timelyxyz</dc:creator><author>timelyxyz</author><pubDate>Wed, 26 Sep 2012 01:34:00 GMT</pubDate><guid>http://www.tkk7.com/timelyxyz/archive/2012/09/26/390039.html</guid><wfw:comment>http://www.tkk7.com/timelyxyz/comments/390039.html</wfw:comment><comments>http://www.tkk7.com/timelyxyz/archive/2012/09/26/390039.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/timelyxyz/comments/commentRss/390039.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/timelyxyz/services/trackbacks/390039.html</trackback:ping><description><![CDATA[<div id="vdvzjpn" class="cnblogs_code"><div><span style="color: #008080;"> 1</span>     <span style="color: #0000FF;">private</span> <span style="color: #0000FF;">static</span> Map<String, Long> getPictureHeightAndWidthMap(String picUrl) {<br /><span style="color: #008080;"> 2</span>         Map<String, Long> map = <span style="color: #0000FF;">new</span> HashMap();<br /><span style="color: #008080;"> 3</span>         <span style="color: #0000FF;">try</span> {<br /><span style="color: #008080;"> 4</span>             URL url = <span style="color: #0000FF;">new</span> URL(picUrl);<br /><span style="color: #008080;"> 5</span>             HttpURLConnection connection = (HttpURLConnection) url<br /><span style="color: #008080;"> 6</span>                     .openConnection();<br /><span style="color: #008080;"> 7</span>             DataInputStream in = <span style="color: #0000FF;">new</span> DataInputStream(<br /><span style="color: #008080;"> 8</span>                     connection.getInputStream());<br /><span style="color: #008080;"> 9</span>             BufferedImage image = ImageIO.read(in);<br /><span style="color: #008080;">10</span>             map.put("w", image.getWidth() * 1L);<br /><span style="color: #008080;">11</span>             map.put("h", image.getHeight() * 1L);<br /><span style="color: #008080;">12</span>             connection.disconnect();<br /><span style="color: #008080;">13</span>             in.close();<br /><span style="color: #008080;">14</span>         } <span style="color: #0000FF;">catch</span> (IOException e) {<br /><span style="color: #008080;">15</span>             e.printStackTrace();<br /><span style="color: #008080;">16</span>         }<br /><span style="color: #008080;">17</span>         <span style="color: #0000FF;">return</span> map;<br /><span style="color: #008080;">18</span>     }<br /><span style="color: #008080;">19</span> <br /><span style="color: #008080;">20</span>     <span style="color: #0000FF;">public</span> <span style="color: #0000FF;">static</span> Long getHeight(String picUrl) {<br /><span style="color: #008080;">21</span>         Map<String, Long> map = getPictureHeightAndWidthMap(picUrl);<br /><span style="color: #008080;">22</span>         <span style="color: #0000FF;">return</span> <span style="color: #0000FF;">null</span> == map.get("h") ? 0 : map.get("h");<br /><span style="color: #008080;">23</span>     }<br /><span style="color: #008080;">24</span> <br /><span style="color: #008080;">25</span>     <span style="color: #0000FF;">public</span> <span style="color: #0000FF;">static</span> Long getWidth(String picUrl) {<br /><span style="color: #008080;">26</span>         Map<String, Long> map = getPictureHeightAndWidthMap(picUrl);<br /><span style="color: #008080;">27</span>         <span style="color: #0000FF;">return</span> <span style="color: #0000FF;">null</span> == map.get("w") ? 0 : map.get("w");<br /><span style="color: #008080;">28</span>     }</div></div><img src ="http://www.tkk7.com/timelyxyz/aggbug/390039.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/timelyxyz/" target="_blank">timelyxyz</a> 2012-09-26 09:34 <a href="http://www.tkk7.com/timelyxyz/archive/2012/09/26/390039.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瑙e喅Mac涓婨clipse妯$硦鐨勯棶棰?/title><link>http://www.tkk7.com/timelyxyz/archive/2012/09/22/390040.html</link><dc:creator>timelyxyz</dc:creator><author>timelyxyz</author><pubDate>Sat, 22 Sep 2012 10:27:00 GMT</pubDate><guid>http://www.tkk7.com/timelyxyz/archive/2012/09/22/390040.html</guid><wfw:comment>http://www.tkk7.com/timelyxyz/comments/390040.html</wfw:comment><comments>http://www.tkk7.com/timelyxyz/archive/2012/09/22/390040.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/timelyxyz/comments/commentRss/390040.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/timelyxyz/services/trackbacks/390040.html</trackback:ping><description><![CDATA[<pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; ">Do "Show package contents" on the Eclipse.app.  </pre><pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; ">Edit <span style="background-color: #99ccff; ">Contents/Info.plist</span>.  </pre><pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; ">Just above  </pre><p><span style="font-size: 8pt; "></dict><br /></span><span style="font-size: 8pt; "></plist></span></p><pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; ">Place this:  </pre><p><span style="font-size: 8pt; "><key>NSHighResolutionCapable</key> </span><br /><span style="font-size: 8pt; "><true/></span></p><pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; "><span style="font-size: 8pt; ">Then, log out or make a copy of the app so that OSX will notice the change. Now, the info window will not show "Open in Low Resolution" as checked. Launch Eclipse and enjoy your new retina awesomeness.</span></pre><pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; "><span style="font-size: 8pt; "><br /></span></pre><pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; "><span style="font-size: 8pt; ">solution from <a title="https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972">https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972</a></span></pre><pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; "><br /></pre><pre style="font-size: small; white-space: pre-wrap; width: 50em; line-height: normal; background-color: #ffffff; ">鍚屾牱鐨勬柟娉曚篃鍙互瑙e喅鐨勮蔣浠舵湁:Spring tool suites.</pre><img src ="http://www.tkk7.com/timelyxyz/aggbug/390040.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/timelyxyz/" target="_blank">timelyxyz</a> 2012-09-22 18:27 <a href="http://www.tkk7.com/timelyxyz/archive/2012/09/22/390040.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Mac涓嬭緗甈ATH錛堝叏灞鍙橀噺錛?/title><link>http://www.tkk7.com/timelyxyz/archive/2012/09/22/390041.html</link><dc:creator>timelyxyz</dc:creator><author>timelyxyz</author><pubDate>Sat, 22 Sep 2012 09:14:00 GMT</pubDate><guid>http://www.tkk7.com/timelyxyz/archive/2012/09/22/390041.html</guid><wfw:comment>http://www.tkk7.com/timelyxyz/comments/390041.html</wfw:comment><comments>http://www.tkk7.com/timelyxyz/archive/2012/09/22/390041.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/timelyxyz/comments/commentRss/390041.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/timelyxyz/services/trackbacks/390041.html</trackback:ping><description><![CDATA[<div>1 棣栧厛鏌ョ湅PATH</div><div>鍛戒護錛?PATH銆銆</div><div> </div><div>2 濡備綍璁劇疆PATH</div><div>鍛戒護錛歟cho "export PATH=xxxxxx:$PATH" >> ~/.bash_profile</div><div>瑙i噴錛氭妸"export PATH=xxxxxx:$PATH"杈撳嚭鎵撳嵃鍒皛/.bash_profile涓幓銆?/div><div> </div><div>3 Unix鐭ヨ瘑琛ュ厖錛殈/.bash_profile浠嬬粛</div><div>mac鍜宭inux緇堢涓鑸敤bash鏉ヨ繘琛岃В鏋愩傚綋bash鍦ㄨ瀹屼簡鏁翠綋鐜鍙橀噺鐨?etc/profile騫跺熸璋冪敤鍏朵粬閰嶇疆鏂囦歡鍚庯紝鎺ヤ笅鏉ュ垯鏄細璇誨彇鐢ㄦ埛鑷畾涔夌殑涓漢閰嶇疆鏂囦歡銆俠ash璇誨彇鐨勬枃浠舵誨叡鏈変笁縐嶏細</div><div>~/.bash_profile 銆銆~/.bash_login  銆銆~/.profile</div><div>鍏跺疄bash鍐嶅惎鍔ㄦ槸鍙涓婇潰鏂囦歡鐨勪竴涓紝鑰岃鍙栫殑欏哄簭鍒欐槸渚濈収涓婇潰鐨勯『搴忋備篃灝辨槸璇磋鍒癰ash_profile灝變笉璇誨悗闈㈢殑浜嗭紝濡傛灉bash_profile涓嶅瓨鍦紝鍚庨潰鐨勬墠鑳芥湁鏈轟細銆?/div><div>璁╂垜浠潵鐪嬬湅bash_profile閲岄潰鏈変粈涔堝唴瀹癸細</div><div>鍛戒護錛歝at ~/.bash_profile銆</div><div>鏈鍚庨噸鍚綘鐨勭粓绔氨浼氭湁鍒氭墠璁劇疆鐨勫叏灞鍙橀噺浜嗐傘</div><div> 銆?012.02.28鏇存柊銆?/div><div>鏈鐩磋鐨勬柟娉曟槸錛?/div><div>cd ~</div><div>open .bash_profile</div><div>榪欐椂鍊欏氨浼氱洿鎺ョ敤璁頒簨鏈▼搴忔墦寮榪欎釜閰嶇疆鏂囦歡錛屾瘮鍦ㄧ粓绔噷閭d箞璁劇疆瑕佺畝鍗曠洿瑙傚浜嗐?/div><div>瑕佹敞鎰忎竴鐐歸偅灝辨槸閰嶇疆鏂囦歡閲岀殑鍙橀噺鏄細瑕嗙洊鐨勶紝姣斿</div><div>export PATH=1</div><div>export PATH=2</div><div>閭d箞鍚庨潰鐨?浼氭妸鍓嶉潰鐨?瑕嗙洊鐨勩?/div><img src ="http://www.tkk7.com/timelyxyz/aggbug/390041.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/timelyxyz/" target="_blank">timelyxyz</a> 2012-09-22 17:14 <a href="http://www.tkk7.com/timelyxyz/archive/2012/09/22/390041.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬hibernate鐨刲eft joinhttp://www.tkk7.com/timelyxyz/archive/2012/09/18/390042.htmltimelyxyztimelyxyzTue, 18 Sep 2012 05:47:00 GMThttp://www.tkk7.com/timelyxyz/archive/2012/09/18/390042.htmlhttp://www.tkk7.com/timelyxyz/comments/390042.htmlhttp://www.tkk7.com/timelyxyz/archive/2012/09/18/390042.html#Feedback0http://www.tkk7.com/timelyxyz/comments/commentRss/390042.htmlhttp://www.tkk7.com/timelyxyz/services/trackbacks/390042.htmlhibernate榛樿鐨勶紝浠ュ強緗戠粶涓婄殑涓繪祦鏀寔left join鐨勮〃鍏崇郴鏄痮ne-to-many鐨勶紝鍙互浣跨敤left join fetch(闇瑕侀厤緗甽azy="true" fetch="select")錛屼篃鍙互浣跨敤Criteria鎴栬匔riteriaQuery(link1 link2)鏉ヨ繘琛屾煡璇€?/p>

 

瀵逛簬many-to-one錛岄鍏堟垜浠厛寤轟袱涓猰odel錛?/p>

 

@Entity
public class ClassOne {
public String id;
public boolean isDeleted;  
}

@Entity

public class ClassTwo {
public String id; 
@ManyToOne
public ClassOne classOne; // 鐖惰〃
public boolean isDeleted;  
}

 鐩墠鏈変袱涓渶姹傦細

 

錛?錛塻elect a.id,b.id from ClassTwo as b left join b.classOne as a;銆愭紜紝鑾峰彇鍒頒簡鎵鏈塁lassOne琛ㄧ殑鏁版嵁欏廣?/p>

錛?錛塻elect a.id,count(b.id) from ClassTwo as b left join b.classOne as a where a.isDeleted=false and b.isDeleted=false group by a.id;銆恈ount緇撴灉涓妸0鐨勬護鍘諱簡錛屾病杈懼埌鎴戠殑闇姹傘?nbsp;

瀵逛簬絎簩縐嶏紝鐩墠鎴戣繕娌℃壘鍒板叿浣撶殑瑙e喅鏂規(guī)硶錛屼粛闇鐮旂┒銆?nbsp;

 



timelyxyz 2012-09-18 13:47 鍙戣〃璇勮
]]>
hihttp://www.tkk7.com/timelyxyz/archive/2012/09/04/390043.htmltimelyxyztimelyxyzTue, 04 Sep 2012 02:55:00 GMThttp://www.tkk7.com/timelyxyz/archive/2012/09/04/390043.htmlhttp://www.tkk7.com/timelyxyz/comments/390043.htmlhttp://www.tkk7.com/timelyxyz/archive/2012/09/04/390043.html#Feedback0http://www.tkk7.com/timelyxyz/comments/commentRss/390043.htmlhttp://www.tkk7.com/timelyxyz/services/trackbacks/390043.htmlouter-join     fetch     lazy         涓婚敭琛╟lass     媯绱㈢瓥鐣?        媯绱㈡柟寮?br />true/false/auto     select     false         true/false     绔嬪嵆媯绱紙n+1嬈℃煡璇級     鎵鏈?br />-         -     no-proxy/proxy     true         寤惰繜媯绱?        鎵鏈?br />-         -     -         false         绔嬪嵆媯绱紙n+1嬈℃煡璇級     鎵鏈?br />-         join     false         true/false     inner join         QBC錛実et()/load()
-         -     -         -         绔嬪嵆媯绱紙n+1嬈℃煡璇級     HQL錛孨ativeSQL
-         join     no-proxy/proxy     false         inner join         QBC錛実et()/load()
-         -     -         -         绔嬪嵆媯绱紙n+1嬈℃煡璇級     HQL錛孨ativeSQL
-         -     -         true         inner join         QBC錛実et()/load()
-         -     -         -         寤惰繜媯绱?




String hql = "select t,count(tp) from ContentTag_Post as tp     left join fetch tp.tag as t"
    + " where tp.tag=t and t.owner.id=? "
    + " and tp.isDeleted=false and t.isDeleted=false "
    + " group by t order by t.createTime desc ";


        String hql = "select t,count(tp) from ContentTag as t left join ContentTag_Post as tp "
                + " where t.owner.id=? and t=tp.tag "
                + " and t.isDeleted=false and tp.isDeleted=false "
                + " group by t order by t.createTime desc ";

 Path expected for join!
2012-08-22 12:47:37 [ERROR]  Invalid path: 'tp.tag'
right-hand operand of a binary operator was null
<AST>:0:0: unexpected end of subtree
left-hand operand of a binary operator was null


select鏌ヨ join鏌ヨ

@LazyToOne鐢ㄦ硶
http://docs.jboss.org/hibernate/annotations/3.4/reference/zh_cn/html/entity.html
Java涓殑transient錛寁olatile鍜宻trictfp鍏抽敭瀛?
http://www.iteye.com/topic/52957
transient
  Java璇█鐨勫叧閿瓧錛岀敤鏉ヨ〃紺轟竴涓煙涓嶆槸璇ュ璞′覆琛屽寲鐨勪竴閮ㄥ垎銆傚綋涓涓璞¤涓茶鍖栫殑鏃跺欙紝transient鍨嬪彉閲忕殑鍊間笉鍖呮嫭鍦ㄤ覆琛屽寲鐨勮〃紺轟腑錛岀劧鑰岄潪transient鍨嬬殑鍙橀噺鏄鍖呮嫭榪涘幓鐨?br />

class A implements Serializable {
 private String name;
 transient private String address;
}

閭d箞浣犲湪涓茶鍖栵紙IO嫻佺瓑錛堿綾繪椂 緇欏畠鐨刵ame鍜宎ddress灞炴ц祴鍊鹼紝閭d箞浣犲湪鎻愬彇A鏃訛紝鎷垮埌浜唍ame灞炴э紝浣嗘槸鍗存嬁涓嶅埌address灞炴с?br />



lazy鏄歡鏃剁殑鎰忔濓紝濡傛灉lazy=true錛岄偅涔堝氨鏄鏁版嵁搴撲腑鍏寵仈瀛愯〃鐨勪俊鎭湪hibernate瀹瑰櫒鍚姩鐨勬椂鍊欎笉浼氬姞杞斤紝鑰屾槸鍦ㄤ綘鐪熸鐨勮闂埌瀛楄〃闈炴爣璇嗗瓧孌電殑鏃跺欙紝鎵嶄細鍘誨姞杞姐?br />鍙嶄箣錛屽鏋渓azy=false鐨勮瘽錛屽氨鏄錛屽瓙琛ㄧ殑淇℃伅浼氬悓涓昏〃淇℃伅鍚屾椂鍔犺澆銆?br />涓鑸敤鍙湁瀹屽叏鐢ㄥ埌瀛愯〃淇℃伅鐨勬椂鍊欙紝鎵嶄細lazy=false

join 鏌ヨ鐨勬椂鍊欙紝鏄敤浠ユ潯璇彞鏌ュ鎵鏈夎褰曪紝鍖呮嫭鍏寵仈琛ㄨ褰曪紝select鏌ュ嚭鐨勬槸N+1鏉¤褰曪紝涓や釜閮芥槸宸笉澶氱殑錛屼絾鏄鏋滅敤浜唋azy=true錛屽歡榪熷姞杞界殑璇濓紝select鍦ㄦ煡璇㈡椂鍙細鏌ュ嚭涓昏〃璁板綍錛屼篃灝辨槸1錛屽鏋滃叾浠栧湴鏂逛篃鐢ㄥ埌浜嗘暟鎹紝姝ゆ椂灝變細鑷姩鍦ㄦ墽琛屾煡璇紝鏌ュ嚭N錛屽彲浠ラ檷浣庡唴瀛樻秷鑰?.榪樻湁錛宧ibernate鏄殑session鏄交閲忕駭鐨勶紝鍒涘緩鍜岄攢姣侀兘涓嶈姳寰堝璧勬簮錛屾煡璇㈡暟鎹篃寰堝揩錛岃繖閲宖etch涓昏璧瘋繖涓綔鐢?nbsp;   

Path expected for join! unexpected end of subtree


timelyxyz 2012-09-04 10:55 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 在线观看人成网站深夜免费| 亚洲精品无码久久久久去q| 国产亚洲精品美女| 亚洲自偷自偷偷色无码中文| 在线免费观看亚洲| 精品亚洲国产成人av| 久久精品国产亚洲| 日本大片在线看黄a∨免费| 中文字幕免费在线看线人动作大片| 亚洲黄色高清视频| 免费成人av电影| 亚洲香蕉免费有线视频| 免费无码国产V片在线观看| 久久亚洲AV无码精品色午夜麻豆| 国产免费午夜a无码v视频| 色欲国产麻豆一精品一AV一免费 | 亚洲日本在线播放| 国产免费怕怕免费视频观看| 99久9在线|免费| 美景之屋4在线未删减免费| 91亚洲国产成人精品下载| 亚洲精品高清一二区久久| 国产精品怡红院永久免费| 一级毛片大全免费播放| 亚洲一区中文字幕| 亚洲av伊人久久综合密臀性色| 日本大片在线看黄a∨免费| 久久精品国产免费观看| 中文字幕a∨在线乱码免费看| 亚洲一久久久久久久久| 亚洲最大福利视频网站| 国产日产亚洲系列最新| 在线观看免费国产视频| 国产大片免费网站不卡美女| GOGOGO免费观看国语| 亚洲av无码偷拍在线观看| 亚洲国产精品线观看不卡| 夜夜春亚洲嫩草影院| 成人亚洲综合天堂| 免费看的成人yellow视频| 免费不卡视频一卡二卡|