﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-理想与现实的距离</title><link>http://www.blogjava.net/anyfly/</link><description>看的多,记性小,忘性大,所以点滴记录</description><language>zh-cn</language><lastBuildDate>Sun, 12 Apr 2026 07:53:08 GMT</lastBuildDate><pubDate>Sun, 12 Apr 2026 07:53:08 GMT</pubDate><ttl>60</ttl><item><title>Hibernate2.X配置点滴(一)</title><link>http://www.blogjava.net/anyfly/archive/2006/04/19/41958.html</link><dc:creator>爱你.福利</dc:creator><author>爱你.福利</author><pubDate>Wed, 19 Apr 2006 09:07:00 GMT</pubDate><guid>http://www.blogjava.net/anyfly/archive/2006/04/19/41958.html</guid><wfw:comment>http://www.blogjava.net/anyfly/comments/41958.html</wfw:comment><comments>http://www.blogjava.net/anyfly/archive/2006/04/19/41958.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/anyfly/comments/commentRss/41958.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/anyfly/services/trackbacks/41958.html</trackback:ping><description><![CDATA[
		<p> </p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080">1</span>
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #000000">&lt;</span>
				<span style="COLOR: #000000">composite</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">id name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">comp_id</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #0000ff">class</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">com.xuanwu.wap.king.model.persistence.TblKingUserAgaPK</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> unsaved</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">value</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">null</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">2</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />            </span>
				<span style="COLOR: #000000">&lt;</span>
				<span style="COLOR: #000000">key</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">many</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">to</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">one name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">user</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> column</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">N_USER_ID</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #0000ff">class</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">com.xuanwu.wap.king.model.persistence.TblKingUser</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">3</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />            </span>
				<span style="COLOR: #000000">&lt;/</span>
				<span style="COLOR: #000000">key</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">many</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">to</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">one</span>
				<span style="COLOR: #000000">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">4</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />            </span>
				<span style="COLOR: #000000">&lt;</span>
				<span style="COLOR: #000000">key</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">many</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">to</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">one name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">aga</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> column</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">N_AgA_ID</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #0000ff">class</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">com.xuanwu.wap.king.model.persistence.TblKingAga</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">5</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />            </span>
				<span style="COLOR: #000000">&lt;/</span>
				<span style="COLOR: #000000">key</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">many</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">to</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">one</span>
				<span style="COLOR: #000000">&gt;</span>
				<span style="COLOR: #000000">                    <br /></span>
				<span style="COLOR: #008080">6</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />        </span>
				<span style="COLOR: #000000">&lt;/</span>
				<span style="COLOR: #000000">composite</span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">id</span>
				<span style="COLOR: #000000">&gt;</span>
		</div>
		<br />
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080">1</span>
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">many-to-one </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="tblKingAga"</span>
				<span style="COLOR: #ff0000"> class</span>
				<span style="COLOR: #0000ff">="com.xuanwu.wap.king.model.persistence.TblKingAga"</span>
				<span style="COLOR: #ff0000"> update</span>
				<span style="COLOR: #0000ff">="false"</span>
				<span style="COLOR: #ff0000"> insert</span>
				<span style="COLOR: #0000ff">="false"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">2</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />            </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">column </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="N_AGA_ID"</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">3</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">many-to-one</span>
				<span style="COLOR: #0000ff">&gt;</span>
		</div>
		<br />
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080">1</span>
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">set </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="tblKingUserAgas"</span>
				<span style="COLOR: #ff0000"> lazy</span>
				<span style="COLOR: #0000ff">="true"</span>
				<span style="COLOR: #ff0000"> inverse</span>
				<span style="COLOR: #0000ff">="true"</span>
				<span style="COLOR: #ff0000"> cascade</span>
				<span style="COLOR: #0000ff">="none"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">2</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />            </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">key</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">3</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />                </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">column </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="N_AGA_ID"</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">4</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />            </span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">key</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">5</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />            </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">one-to-many </span>
				<span style="COLOR: #ff0000">class</span>
				<span style="COLOR: #0000ff">="com.xuanwu.wap.king.model.persistence.TblKingUserAga"</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">6</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">set</span>
				<span style="COLOR: #0000ff">&gt;</span>
		</div>
		<br />
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080">1</span>
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">id </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="id"</span>
				<span style="COLOR: #ff0000"> type</span>
				<span style="COLOR: #0000ff">="java.lang.Long"</span>
				<span style="COLOR: #ff0000"> column</span>
				<span style="COLOR: #0000ff">="id"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">2</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />      </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">generator </span>
				<span style="COLOR: #ff0000">class</span>
				<span style="COLOR: #0000ff">="sequence"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">3</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />        </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">param </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="sequence"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">seq_user_id</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">param</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">4</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />      </span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">generator</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">5</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">id</span>
				<span style="COLOR: #0000ff">&gt;</span>
		</div>
		<br />
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080"> 1</span>
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">one-to-one </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="userData"</span>
				<span style="COLOR: #ff0000"> class</span>
				<span style="COLOR: #0000ff">="com.xuanwu.wap.union.journey.data.model.TJourneyUserData"</span>
				<span style="COLOR: #ff0000"> cascade</span>
				<span style="COLOR: #0000ff">="all"</span>
				<span style="COLOR: #ff0000"> property-ref</span>
				<span style="COLOR: #0000ff">="user"</span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 2</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">many-to-one </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="roleData"</span>
				<span style="COLOR: #ff0000"> cascade</span>
				<span style="COLOR: #0000ff">="none"</span>
				<span style="COLOR: #ff0000"> class</span>
				<span style="COLOR: #0000ff">="com.xuanwu.wap.union.journey.data.model.TJourneyRoleData"</span>
				<span style="COLOR: #ff0000"> column</span>
				<span style="COLOR: #0000ff">="roleid"</span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 3</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">set </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="userNPC"</span>
				<span style="COLOR: #ff0000"> cascade</span>
				<span style="COLOR: #0000ff">="all"</span>
				<span style="COLOR: #ff0000"> inverse</span>
				<span style="COLOR: #0000ff">="true"</span>
				<span style="COLOR: #ff0000"> lazy</span>
				<span style="COLOR: #0000ff">="true"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 4</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />         </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">key </span>
				<span style="COLOR: #ff0000">column</span>
				<span style="COLOR: #0000ff">="userid"</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">key</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 5</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />         </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">one-to-many </span>
				<span style="COLOR: #ff0000">class</span>
				<span style="COLOR: #0000ff">="com.xuanwu.wap.union.journey.data.model.TJourneyUserNpc"</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 6</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">set</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 7</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">set </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="userGoods"</span>
				<span style="COLOR: #ff0000"> cascade</span>
				<span style="COLOR: #0000ff">="all"</span>
				<span style="COLOR: #ff0000"> inverse</span>
				<span style="COLOR: #0000ff">="true"</span>
				<span style="COLOR: #ff0000"> lazy</span>
				<span style="COLOR: #0000ff">="true"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 8</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />         </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">key </span>
				<span style="COLOR: #ff0000">column</span>
				<span style="COLOR: #0000ff">="userid"</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">key</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 9</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />         </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">one-to-many </span>
				<span style="COLOR: #ff0000">class</span>
				<span style="COLOR: #0000ff">="com.xuanwu.wap.union.journey.data.model.TJourneyUserGood"</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">10</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">set</span>
				<span style="COLOR: #0000ff">&gt;</span>
		</div>
		<br />
<img src ="http://www.blogjava.net/anyfly/aggbug/41958.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/anyfly/" target="_blank">爱你.福利</a> 2006-04-19 17:07 <a href="http://www.blogjava.net/anyfly/archive/2006/04/19/41958.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Cookie问题</title><link>http://www.blogjava.net/anyfly/archive/2006/04/19/41952.html</link><dc:creator>爱你.福利</dc:creator><author>爱你.福利</author><pubDate>Wed, 19 Apr 2006 08:49:00 GMT</pubDate><guid>http://www.blogjava.net/anyfly/archive/2006/04/19/41952.html</guid><wfw:comment>http://www.blogjava.net/anyfly/comments/41952.html</wfw:comment><comments>http://www.blogjava.net/anyfly/archive/2006/04/19/41952.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/anyfly/comments/commentRss/41952.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/anyfly/services/trackbacks/41952.html</trackback:ping><description><![CDATA[路径与域合在一起就构成了cookie的作用范围。<br />如果不设置过期时间，则表示这个cookie的生命期为浏览器会话期间，只要关闭浏览器窗口，cookie就消失了。这种生命期为浏览器会话期的cookie被称为会话cookie。会话cookie一般不存储在硬盘上而是保存在内存里，当然这种行为并不是规范规定的。<br />存储在硬盘上的cookie可以在不同的浏览器进程间共享，比如两个IE窗口。而对于保存在内存里的cookie，不同的浏览器有不同的处理方式。对于IE，在一个打开的窗口上按Ctrl-N（或者从文件菜单）打开的窗口可以与原窗口共享，而使用其他方式新开的IE进程则不能共享已经打开的窗口的内存cookie；对于Mozilla Firefox0.8，所有的进程和标签页都可以共享同样的cookie。一般来说是用javascript的window.open打开的窗口会与原窗口共享内存cookie。浏览器对于会话cookie的这种只认cookie不认人的处理方式经常给采用session机制的web应用程序开发者造成很大的困扰。<img src ="http://www.blogjava.net/anyfly/aggbug/41952.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/anyfly/" target="_blank">爱你.福利</a> 2006-04-19 16:49 <a href="http://www.blogjava.net/anyfly/archive/2006/04/19/41952.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Spring配置点滴(一)</title><link>http://www.blogjava.net/anyfly/archive/2006/04/19/41950.html</link><dc:creator>爱你.福利</dc:creator><author>爱你.福利</author><pubDate>Wed, 19 Apr 2006 08:46:00 GMT</pubDate><guid>http://www.blogjava.net/anyfly/archive/2006/04/19/41950.html</guid><wfw:comment>http://www.blogjava.net/anyfly/comments/41950.html</wfw:comment><comments>http://www.blogjava.net/anyfly/archive/2006/04/19/41950.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/anyfly/comments/commentRss/41950.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/anyfly/services/trackbacks/41950.html</trackback:ping><description><![CDATA[
		<p>Spring配置属性名：contextConfigLocation相对Web应用根目录</p>
		<p>log4jConfigLocation<br />Convenience class that performs custom Log4J initialization for web environments, allowing for log file paths within the web application, with the option to perform automatic refresh checks (for runtime changes in logging configuration). </p>
		<p>WARNING: Assumes an expanded WAR file, both for loading the configuration file and for writing the log files. If you want to keep your WAR unexpanded or don't need application-specific log files within the WAR directory, don't use Log4J setup within the application (thus, don't use Log4jConfigListener or Log4jConfigServlet). Instead, use a global, VM-wide Log4J setup (for example, in JBoss) or JDK 1.4's java.util.logging (which is global too). </p>
		<p>Supports three init parameters at the servlet context level (that is, context-param entries in web.xml): </p>
		<p>"log4jConfigLocation":<br />Location of the Log4J config file; either a "classpath:" location (e.g. "classpath:myLog4j.properties"), an absolute file URL (e.g. "file:C:/log4j.properties), or a plain path relative to the web application root directory (e.g. "/WEB-INF/log4j.properties"). If not specified, default Log4J initialization will apply ("log4j.properties" in the class path; see Log4J documentation for details). <br />"log4jRefreshInterval":<br />Interval between config file refresh checks, in milliseconds. If not specified, no refresh checks will happen, which avoids starting Log4J's watchdog thread. <br />"log4jExposeWebAppRoot":<br />Whether the web app root system property should be exposed, allowing for log file paths relative to the web application root directory. Default is "true"; specify "false" to suppress expose of the web app root system property. See below for details on how to use this system property in log file locations. <br />Note: initLogging should be called before any other Spring activity (when using Log4J), for proper initialization before any Spring logging attempts. </p>
		<p>Log4J's watchdog thread will asynchronously check whether the timestamp of the config file has changed, using the given interval between checks. A refresh interval of 1000 milliseconds (one second), which allows to do on-demand log level changes with immediate effect, is not unfeasible. </p>
		<p>WARNING: Log4J's watchdog thread does not terminate until VM shutdown; in particular, it does not terminate on LogManager shutdown. Therefore, it is recommended to not use config file refreshing in a production J2EE environment; the watchdog thread would not stop on application shutdown there. </p>
		<p>By default, this configurer automatically sets the web app root system property, for "${key}" substitutions within log file locations in the Log4J config file, allowing for log file paths relative to the web application root directory. The default system property key is "webapp.root", to be used in a Log4J config file like as follows: </p>
		<p>log4j.appender.myfile.File=${webapp.root}/WEB-INF/demo.log </p>
		<p>Alternatively, specify a unique context-param "webAppRootKey" per web application. For example, with "webAppRootKey = "demo.root": </p>
		<p>log4j.appender.myfile.File=${demo.root}/WEB-INF/demo.log </p>
		<p>WARNING: Some containers (like Tomcat) do not keep system properties separate per web app. You have to use unique "webAppRootKey" context-params per web app then, to avoid clashes. Other containers like Resin do isolate each web app's system properties: Here you can use the default key (i.e. no "webAppRootKey" context-param at all) without worrying. <br /></p>
<img src ="http://www.blogjava.net/anyfly/aggbug/41950.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/anyfly/" target="_blank">爱你.福利</a> 2006-04-19 16:46 <a href="http://www.blogjava.net/anyfly/archive/2006/04/19/41950.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>WAP开发点滴</title><link>http://www.blogjava.net/anyfly/archive/2006/04/19/41947.html</link><dc:creator>爱你.福利</dc:creator><author>爱你.福利</author><pubDate>Wed, 19 Apr 2006 08:43:00 GMT</pubDate><guid>http://www.blogjava.net/anyfly/archive/2006/04/19/41947.html</guid><wfw:comment>http://www.blogjava.net/anyfly/comments/41947.html</wfw:comment><comments>http://www.blogjava.net/anyfly/archive/2006/04/19/41947.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/anyfly/comments/commentRss/41947.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/anyfly/services/trackbacks/41947.html</trackback:ping><description><![CDATA[
		<p>WML规范:<br />img标签必须有src和alt两个属性<br /> HTML特殊字符必须过滤<br /> 所有的内容必须包括在&lt;p&gt;&lt;/p&gt;标签中<br /> &lt;p&gt;不能嵌套<br /> input标签不能嵌套在&lt;small&gt;中<br />中文的解决：<br />中国移动加入以下几句后，页面中可以直接写中文，不用转换，提交的中文直接request.getParameter("")获得，不用转换<br />&lt;%@ page contentType="text/vnd.wap.wml;charset=gbk"%&gt;<br />&lt;%response.setContentType("text/vnd.wap.wml;charset=UTF-8");%&gt;<br />&lt;%request.setCharacterEncoding("UTF-8");%&gt;<br />中国联通加入以下几句后，页面中可以直接写中文，不用转换，提交的中文直接request.getParameter("")获得，不用转换<br />&lt;%@ page contentType="text/vnd.wap.wml;charset=gbk"%&gt;<br />&lt;%request.setCharacterEncoding("UTF-8");%&gt;<br />操作系统win2000,Web Server resin(或tomcat)<br />因为编码为UTF-8,在Linux应该也没问题<br />联通x-wap-client-id，有就是2.0的，没有就是1.2<br />联通下载业务比较麻烦,需要申请DownloadFun<br />uplink:download?source=http://wap.165e.com/df/http://www.139130.net/mkj/05000028.mid&amp;amp;size=11311&amp;amp;object=phone:ringtone&amp;amp;status=http://wap.139130.net/mkj/result.jsp这个下载链接的格式<br /><a href="http://wap.165e.com/df/">http://wap.165e.com/df/</a>为代理地址,后面的是文件地址<br />object根据不同的文件格式不一样<br />phone:ringtone表示铃声<br />phone:wallpaper表示图片<br /><br />联通的伪手机号:req.getHeader("deviceid")//211.96.20.4*<br />联通的手机号:req.getHeader("x-up-calling-line-id")<br />移动的伪手机号:req.getParameter("MISC_MID")//211.136.253.102</p>
<img src ="http://www.blogjava.net/anyfly/aggbug/41947.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/anyfly/" target="_blank">爱你.福利</a> 2006-04-19 16:43 <a href="http://www.blogjava.net/anyfly/archive/2006/04/19/41947.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Oracle之usr_tab_columns表</title><link>http://www.blogjava.net/anyfly/archive/2006/04/19/41826.html</link><dc:creator>爱你.福利</dc:creator><author>爱你.福利</author><pubDate>Wed, 19 Apr 2006 02:26:00 GMT</pubDate><guid>http://www.blogjava.net/anyfly/archive/2006/04/19/41826.html</guid><wfw:comment>http://www.blogjava.net/anyfly/comments/41826.html</wfw:comment><comments>http://www.blogjava.net/anyfly/archive/2006/04/19/41826.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/anyfly/comments/commentRss/41826.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/anyfly/services/trackbacks/41826.html</trackback:ping><description><![CDATA[usr_tab_columns保存了所有用户的表的列的信息,包括数据类型,列名,表名等<br />属于SYS用户,其它用户默认只有Select的权限,表结构看下图<br /><img height="276" alt="r_user_tab_columns.BMP" src="http://www.blogjava.net/images/blogjava_net/anyfly/10225/r_user_tab_columns.BMP" width="540" border="0" /><br />图不清晰,请看相册中图片<br />例:查找所有的包含CreateDate列名的表名<br />select table_name from user_tab_columns where column_name='CreateDate'<img src ="http://www.blogjava.net/anyfly/aggbug/41826.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/anyfly/" target="_blank">爱你.福利</a> 2006-04-19 10:26 <a href="http://www.blogjava.net/anyfly/archive/2006/04/19/41826.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>