锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲日本天堂在线,亚洲情A成黄在线观看动漫软件 ,亚洲熟妇无码一区二区三区http://www.tkk7.com/mmwy/鎼==銆?lt;a >www.soapui.cn</a>zh-cnFri, 09 May 2025 05:50:38 GMTFri, 09 May 2025 05:50:38 GMT60Struts2 鐨刣atetimepicker Taglib錛屽湪浣跨敤freemarker鍋歳esult type鏃剁殑闂http://www.tkk7.com/mmwy/archive/2007/04/20/112136.htmlmmwymmwyFri, 20 Apr 2007 02:26:00 GMThttp://www.tkk7.com/mmwy/archive/2007/04/20/112136.htmlhttp://www.tkk7.com/mmwy/comments/112136.htmlhttp://www.tkk7.com/mmwy/archive/2007/04/20/112136.html#Feedback0http://www.tkk7.com/mmwy/comments/commentRss/112136.htmlhttp://www.tkk7.com/mmwy/services/trackbacks/112136.html
211672[http-8080-Processor25]聽ERROR聽freemarker.runtime聽聽-聽
on聽line聽
7,聽column聽17聽in聽admin/index.ftl聽s.datetimepicker聽not聽found.
The聽problematic聽instruction:
----------
==>聽user-directive聽s.datetimepicker聽[on聽line聽7,聽column聽17聽in聽admin/index.ftl]
----------

Java聽backtrace聽for聽programmers:
----------
freemarker.core.InvalidReferenceException:聽on聽line聽
7,聽column聽17聽in聽admin/index.ftl聽s.datetimepicker聽not聽found.

璇曠潃google涓涓嬶紝姝eソ鏈変漢涔熸彁浜や簡榪欎釜bug錛屾敼鎴?<@s.dateTimePicker />錛岄棶棰樿В鍐?br />
The聽fix聽is聽as聽follows:

In聽struts2-core-
2.0.6:
org.apache.struts2.views.freemarker.tags.StrutsModels

has聽a聽method
getDateTimePicker()

Which聽should聽be聽re-named:
getDatetimepicker()

to聽match聽with聽the聽naming聽convention.


hello,struts2.jpg


mmwy 2007-04-20 10:26 鍙戣〃璇勮
]]>
璁゜irt2.1.x鏀寔rtf銆乸pt銆亁lshttp://www.tkk7.com/mmwy/archive/2007/04/08/109240.htmlmmwymmwySun, 08 Apr 2007 07:42:00 GMThttp://www.tkk7.com/mmwy/archive/2007/04/08/109240.htmlhttp://www.tkk7.com/mmwy/comments/109240.htmlhttp://www.tkk7.com/mmwy/archive/2007/04/08/109240.html#Feedback2http://www.tkk7.com/mmwy/comments/commentRss/109240.htmlhttp://www.tkk7.com/mmwy/services/trackbacks/109240.html
3.Re:BIRT鍫辮〃宸ュ叿鐨勫晱欏屄?/span>[Re:聽uxa]聽聽聽聽聽Copy聽to聽clipboard
Posted聽by:聽uxa
Posted聽on:聽
2006-09-1515:28

綞撻亷騫炬鐨勫け鏁楀緦~~灝忓紵緄傛柤瑭﹀嚭渚嗕簡
涓嶉亷鎰熻瀹冧技涔庡彧鏄痵upport聽xls聽file聽format涓︽矑鏈塭xcel鐨勪竴浜涘姛鑳?gt;聽<

1.聽download聽eclipse聽plugin聽BIRT錛屽皬寮熸姄鐨勬槸birt-report-designer-all-in-one-2_1_0.zip
灝囧叾瑙i枊寰屾妸eclipse\plugins鍜宔clipse\features閫欏叐鍊嬬洰閷勬斁鍒癳clipse鐨勭洰閷勫簳涓?br />鐝懼湪灝噀clipse鎵撻枊錛屾偍宸茬稉鍙互闁嬪璦▓鍫辮〃浜嗐?br />
2.聽BIRT闋愯ō鏈夋敮鎻碒TML鍜孭DF鐨勬牸寮忥紝浠ヤ笅瑾槑濡備綍鏀彺xls鏍煎紡
a.聽download聽xls-emitter-bin_2
.1.0.zip錛岃В闁嬪緦灝噋lugins瑜囪=鍒癳clipse\plugins涓?br />b.聽download聽poi-bin-3.0-alpha2-20060616.zip錛岃В闁嬪緦灝噅ar妾旇瑁藉埌eclipse\plugins\聽org.uguess.birt.report.engine.emitter.xls_2.1.0.200607031206\lib
c.聽xls-emitter-bin_2
.1.0.zip瑙i枊寰屾湁鍊媝ath鐨勭洰閷勶紝
(
1)聽灝噊rg.eclipse.birt.report.designer.ui鐩寗涓嬬殑妾旀瑜囪=鍒癳clipse\plugins\org.eclipse.birt.report.designer.ui.preview_2.1.0.*.jar
(
2)灝噊rg.eclipse.birt.report.viewer鐩寗涓嬬殑妾旀瑜囪=鍒癳clipse\plugins\聽org.eclipse.birt.report.viewer_2.1.0.*\birt\WEB-INF\lib\viewservlets.jar
(
3)灝噊rg.eclipse.birt.report.engine鐩寗涓嬬殑妾旀瑜囪=鍒癳clipse\plugins\org.eclipse.birt.report.engine_2.1.0.*.jar

瀹屾垚寰屽暉鍕昬clipse鍙湅鍒板湪view聽report鐨勬寜閳曚笂澶氫簡xls鍜宲pt鍏╃ó鏍煎紡

BIRT涓嬭級浣嶇疆錛歨ttp://download.eclipse.org/birt/downloads/
Tribix涓嬭級浣嶇疆錛歨ttps://sourceforge.net/projects/tribix
ps錛氳珛娉ㄦ剰鐗堟湰鐨勫晱欏岋紝BIRT2
.1.0璜嬫惌閰峊ribix聽XLS聽Emitter聽2.1.0鐗堟湰錛屽湪緗彌妾斿悕鐨勯儴浠戒篃璜嬫敞鎰忚礬寰戞槸鍚︽紕?/span>



mmwy 2007-04-08 15:42 鍙戣〃璇勮
]]>
鍦╞irt2.1.2涓樉紺烘潯褰㈢爜http://www.tkk7.com/mmwy/archive/2007/04/07/109052.htmlmmwymmwyFri, 06 Apr 2007 19:37:00 GMThttp://www.tkk7.com/mmwy/archive/2007/04/07/109052.htmlhttp://www.tkk7.com/mmwy/comments/109052.htmlhttp://www.tkk7.com/mmwy/archive/2007/04/07/109052.html#Feedback4http://www.tkk7.com/mmwy/comments/commentRss/109052.htmlhttp://www.tkk7.com/mmwy/services/trackbacks/109052.html
浠婃櫄鐪媌irt鏂囨。錛堢 23 绔?浣跨敤 Java 緙栧啓浜嬩歡澶勭悊紼嬪簭錛夛紝渚嬪瓙涓敤java瀹炵幇浜嗕竴涓狶abelEventAdapter鐨勯傞厤鍣紝瀵規爣絳懼厓绱犺繘琛屼簨浠舵帶鍒躲傝剳瀛愰噷鐏靛厜涓鐜幫紝浼間箮鏉$爜鏈夌潃钀戒簡銆?br />
鎴戠殑嫻嬭瘯渚嬪瓙寰堢畝鍗曪紝緇ф壙ImageEventAdapter綾伙紝閲嶈澆onCreate鏂規硶錛屼互榪涜鏉″艦鐮佸鐞?br />
聽1package聽cn.ynzc.common.birt.test;
聽2
聽3import聽java.io.File;
聽4import聽java.io.FileOutputStream;
聽5
聽6import聽jbarcodebean.Code128;
聽7import聽jbarcodebean.JBarcodeBean;
聽8
聽9import聽org.apache.commons.codec.digest.DigestUtils;
10import聽org.eclipse.birt.report.engine.api.script.IReportContext;
11import聽org.eclipse.birt.report.engine.api.script.eventadapter.ImageEventAdapter;
12import聽org.eclipse.birt.report.engine.api.script.instance.IImageInstance;
13
14publicclass聽MyLabelClass聽extends聽ImageEventAdapter聽{
15
16聽聽publicvoid聽onCreate(IImageInstance聽image,聽IReportContext聽reportContext)聽{
17聽聽聽聽try聽{
18聽聽聽聽聽聽//瀹為檯搴旂敤涓紝鍙互浣跨敤image.getRowData().getColumnValue("columnname")鑾峰緱瀛楁鍊?/span>
19聽聽聽聽聽聽String聽code聽="ABCDEF123-2222";
20聽聽聽聽聽聽//浼間箮windows鏂囦歡鍚嶄腑涓嶅厑璁鎬嬌鐢ㄢ?鈥濈瓑絎﹀彿錛屽共鑴嗗皢code榪涜md5鏁e垪澶勭悊
21聽聽聽聽聽聽File聽file聽=new聽File(System.getProperty("java.io.tmpdir"),聽DigestUtils.md5Hex(code));
22聽聽聽聽聽聽//閬垮厤姣忔閮借繘琛屾潯鐮佹枃浠剁敓鎴?/span>
23聽聽聽聽聽聽if聽(!file.exists())聽{
24聽聽聽聽聽聽聽聽JBarcodeBean聽bb聽=new聽JBarcodeBean();
25聽聽聽聽聽聽聽聽bb.setCodeType(new聽Code128());
26聽聽聽聽聽聽聽聽bb.setShowText(true);
27聽聽聽聽聽聽聽聽bb.setBarcodeHeight(45);聽//鏉$爜楂樺害
28聽聽聽聽聽聽聽聽bb.setCode(code);
29聽聽聽聽聽聽聽聽bb.gifEncode(new聽FileOutputStream(file));
30聽聽聽聽聽聽}
31聽聽聽聽聽聽image.setFile(file.getAbsolutePath());
32聽聽聽聽}
33聽聽聽聽catch聽(Exception聽e)聽{
34聽聽聽聽聽聽e.printStackTrace();
35聽聽聽聽}
36聽聽}
37
38}
39

嫻嬭瘯鐢ㄧ殑birt鎶ヨ〃鏂囦歡綆鍗曞緱瑕佹錛屽氨寰涓婇潰鎵斾簡涓猧mage鍏冪礌錛岃緗叾Event Handler Class涓哄垰鎵嶅啓濂界殑java綾伙紝鏈緇堝緱鍒扮殑rptdesign鏂囦歡鍐呭濡備笅錛?br />
聽1<?xml聽version="1.0"聽encoding="UTF-8"?>
聽2<!--聽Written聽by聽Eclipse聽BIRT聽2.0聽-->
聽3<report聽xmlns="http://www.eclipse.org/birt/2005/design"聽version="3.2.6"聽id="1">
聽4聽聽聽聽<property聽name="createdBy">Eclipse聽BIRT聽Designer聽Version聽2.1.2.v20070205-1728聽Build聽&lt;20070205-1728></property>
聽5聽聽聽聽<property聽name="units">in</property>
聽6聽聽聽聽<page-setup>
聽7聽聽聽聽聽聽聽聽<simple-master-page聽name="Simple聽MasterPage"聽id="2"/>
聽8聽聽聽聽</page-setup>
聽9聽聽聽聽<body>
10聽聽聽聽聽聽聽聽<image聽id="4">
11聽聽聽聽聽聽聽聽聽聽聽聽<property聽name="eventHandlerClass">cn.ynzc.common.birt.test.MyLabelClass</property>
12聽聽聽聽聽聽聽聽</image>
13聽聽聽聽</body>
14</report>

榪愯嫻嬭瘯錛屾潯褰㈢爜鍑烘潵浜?br />
birt.jpg

閬楃暀闂錛?br />榪欐鏄皟鐢╫rg.eclipse.birt.report.engine.api.script.instance.IImageInstance.setFile()鏉ヨВ鍐抽棶棰橈紝浠巎avadoc鍙互鐪嬪埌錛孖ImageInstance鏈夊緢澶氭柟娉曞彲浠ヨ皟鐢紝鍏跺畠鏂規硶鍒嗗埆鏈変粈涔堜綔鐢紵姣斿鎴戝皾璇曚簡鍗婂ぉ鐨剆etData(byte[])鏂規硶錛屼竴寮濮嬩互涓烘槸鐢ㄨ繖涓柟娉曠洿鎺ユ妸鍥懼艦鏁版嵁set榪涘幓灝眔k錛岀粨鏋滄湭鎴愬姛銆?br />



mmwy 2007-04-07 03:37 鍙戣〃璇勮
]]>
鍒╃敤birt2.1.2鐨処RunAndRenderTask.addScriptableJavaObject鍦╞irt涓皟鐢╯pring beahttp://www.tkk7.com/mmwy/archive/2007/04/06/108955.htmlmmwymmwyFri, 06 Apr 2007 07:39:00 GMThttp://www.tkk7.com/mmwy/archive/2007/04/06/108955.htmlhttp://www.tkk7.com/mmwy/comments/108955.htmlhttp://www.tkk7.com/mmwy/archive/2007/04/06/108955.html#Feedback3http://www.tkk7.com/mmwy/comments/commentRss/108955.htmlhttp://www.tkk7.com/mmwy/services/trackbacks/108955.htmladdScriptableJavaObject(java.lang.String jsName, java.lang.Object obj)鏂規硶錛屽埄鐢ㄨ繖涓柟娉曪紝鍦ㄧ洿鎺ヨ皟鐢╞irt api鎿嶄綔澶勭悊鎶ヨ〃鐨勬椂鍊欙紝鎴戜滑鍙互灝嗕換浣昷ava瀵硅薄閫氳繃addScriptableJavaObject("xxx",Object)鍔犺繘birt鍘伙紝鐒跺悗鍦╞irt鑴氭湰涓洿鎺ヨ皟鐢▁xx.method()榪涜鎿嶄綔銆?br />
鎴戠殑嫻嬭瘯鏄湪涓涓獁ebwork+spring+hibernate鐨剋ebapp搴旂敤涓繘琛岀殑錛岃繘琛屾姤琛ㄥ鐞嗙殑浠g爜鍙傜収http://wiki.eclipse.org/index.php/Servlet_Example緙栧啓錛屽湪浠g爜涓紝鍐欎簡涓鍙?/code>task.addScriptableJavaObject("ctx",
WebApplicationContextUtils.getWebApplicationContext(sc));

birt涓畾涔変簡涓涓猻cripts datasource錛岀劧鍚庡畾涔変竴涓猟ata set錛屽湪dataset鐨刼pen鏂規硶涓紪鍐欒剼鏈?br />
infoManager=ctx.getBean("infoManager");
infos=infoManager.loadAll();
...


mmwy 2007-04-06 15:39 鍙戣〃璇勮
]]>
win2003涓奿is涓巘omcat鐨勬暣鍚?/title><link>http://www.tkk7.com/mmwy/archive/2007/03/19/104743.html</link><dc:creator>mmwy</dc:creator><author>mmwy</author><pubDate>Mon, 19 Mar 2007 07:39:00 GMT</pubDate><guid>http://www.tkk7.com/mmwy/archive/2007/03/19/104743.html</guid><wfw:comment>http://www.tkk7.com/mmwy/comments/104743.html</wfw:comment><comments>http://www.tkk7.com/mmwy/archive/2007/03/19/104743.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/mmwy/comments/commentRss/104743.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/mmwy/services/trackbacks/104743.html</trackback:ping><description><![CDATA[鍦╝pache緗戠珯涓婂凡緇忔湁寰堣緇嗙殑浠嬬粛<br />http://tomcat.apache.org/connectors-doc/reference/iis.html<br /><br />鏈夊嚑鐐規敞鎰忕殑錛?br />1銆侀櫎浜嗙収鏂囨。鐨勪緥瀛愬湪娉ㄥ唽琛?b>"HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0"</b>寤虹浉搴旈敭鍊煎錛岃繕鍙互鍦?b>isapi_redirect.dll</b>鎵鍦ㄧ殑鐩綍寤?b>鈥渋sapi_redirect.properties鈥?/b>鏂囦歡銆?br /><br />2銆乪xtension_uri=/jakarta/isapi_redirect.dll<br />榪欎釜extension_uri鍐欐垚浠涔堣礬寰勶紝灝卞緱鍦╥is绔欑偣涓緩鐩稿簲鍚嶅瓧鐨勮櫄鎷熺洰褰曪紙鎵ц鏉冮檺錛夛紝浠ヤ繚璇?jakarta/isapi_redirect.dll鑳借姝e父璁塊棶鍒般?br /><br />3銆侀櫎鏂囨。涓婁粙緇嶇殑鍑犲ぇ姝ワ紙娉ㄥ唽琛ㄣ佺綉绔欍佽櫄鎷熻礬寰勭瓑錛変互澶栵紝win2003 iis涓婅繕寰楀仛涓嬮潰榪欎釜姝ラ<br /><br /><strong>鏂板緩搴旂敤紼嬪簭鎵╁睍</strong><br />鍦↖IS綆$悊鍣ㄥ乏渚х綉绔欎笅闈㈤変腑Web鏈嶅姟鎵╁睍錛屾坊鍔犱竴涓柊鐨刉eb鏈嶅姟鎵╁睍錛屾墿灞曞悕涓簀akarta,娣誨姞瑕佹眰寰楁枃浠朵負D:\Tomcat5.0\bin\jakart\isapi_redirect.dll,騫惰緗墿灞曠姸鎬佷負鍏佽銆?br />錛堟敞錛氭潵鑷?<a title="http://www.cnrui.cn/blog/article.asp?id=179" >http://www.cnrui.cn/blog/article.asp?id=179</a> 錛?br /><br /><br /><br /><br /><img src ="http://www.tkk7.com/mmwy/aggbug/104743.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/mmwy/" target="_blank">mmwy</a> 2007-03-19 15:39 <a href="http://www.tkk7.com/mmwy/archive/2007/03/19/104743.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Birt 2.1.1涓璽able row鑳屾櫙棰滆壊浜ゆ浛鏄劇ずhttp://www.tkk7.com/mmwy/archive/2006/11/24/83150.htmlmmwymmwyThu, 23 Nov 2006 17:04:00 GMThttp://www.tkk7.com/mmwy/archive/2006/11/24/83150.htmlhttp://www.tkk7.com/mmwy/comments/83150.htmlhttp://www.tkk7.com/mmwy/archive/2006/11/24/83150.html#Feedback0http://www.tkk7.com/mmwy/comments/commentRss/83150.htmlhttp://www.tkk7.com/mmwy/services/trackbacks/83150.html
閫変腑table鐨刣etail琛岋紝鍒囨崲鍒皊cript鏍囩錛屽湪onPrepare浜嬩歡涓緭鍏?br />
count=1;

鍦╫nCreate浜嬩歡涓緭鍏?br />
1count++;
2this.getStyle().backgroundColor=(count%2==0?"red":"blue");

鎴栨槸鐩存帴鎵撳紑xml source錛屽湪鐩稿簲鐨刣etail浣嶇疆涓婁慨鏀規簮鐮佷負
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<detail>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<row聽id="66">
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽.
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<method聽name="onPrepare"><![CDATA[count=1;]]></method>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<method聽name="onCreate"><![CDATA[count++;this.getStyle().backgroundColor=(count%2==0?"red":"blue");]]></method>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽..

xxxxx.jpg



mmwy 2006-11-24 01:04 鍙戣〃璇勮
]]>
Birt 2.1.1 DataSet鍒╃敤鎶ヨ〃鍙傛暟鍔ㄦ佹煡璇?/title><link>http://www.tkk7.com/mmwy/archive/2006/11/23/82924.html</link><dc:creator>mmwy</dc:creator><author>mmwy</author><pubDate>Wed, 22 Nov 2006 17:48:00 GMT</pubDate><guid>http://www.tkk7.com/mmwy/archive/2006/11/23/82924.html</guid><wfw:comment>http://www.tkk7.com/mmwy/comments/82924.html</wfw:comment><comments>http://www.tkk7.com/mmwy/archive/2006/11/23/82924.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/mmwy/comments/commentRss/82924.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/mmwy/services/trackbacks/82924.html</trackback:ping><description><![CDATA[ <strong>瀹氫箟鎶ヨ〃鍙傛暟錛?br /></strong> <br /> <p align="center"> <img alt="3.jpg" src="http://www.tkk7.com/images/blogjava_net/mmwy/3.jpg" border="0" height="202" width="433" /> </p> <br /> <br /> <strong>瑙e喅鏂規硶涓錛?br /></strong> <br /> <p align="center"> <img alt="1.jpg" src="http://www.tkk7.com/images/blogjava_net/mmwy/1.jpg" border="0" height="311" width="598" /> </p> <br /> <p align="center"> <img alt="2.jpg" src="http://www.tkk7.com/images/blogjava_net/mmwy/2.jpg" border="0" height="403" width="795" /> </p> <br /> <br /> <strong>瑙e喅鍔炴硶浜岋細<br /></strong> <br />鍦ㄦ姤琛ㄧ┖鐧藉鐐瑰嚮涓涓嬶紝鐒跺悗鍒囨崲鍒皊cript鏍囩錛岄夋嫨beforeFactory銆?br /><p align="center"><img alt="4.jpg" src="http://www.tkk7.com/images/blogjava_net/mmwy/4.jpg" border="0" height="168" width="576" /></p><br /><img src ="http://www.tkk7.com/mmwy/aggbug/82924.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/mmwy/" target="_blank">mmwy</a> 2006-11-23 01:48 <a href="http://www.tkk7.com/mmwy/archive/2006/11/23/82924.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>hibernate.hbm2ddl.auto涓巌mport.sqlhttp://www.tkk7.com/mmwy/archive/2006/10/31/78187.htmlmmwymmwyMon, 30 Oct 2006 16:32:00 GMThttp://www.tkk7.com/mmwy/archive/2006/10/31/78187.htmlhttp://www.tkk7.com/mmwy/comments/78187.htmlhttp://www.tkk7.com/mmwy/archive/2006/10/31/78187.html#Feedback2http://www.tkk7.com/mmwy/comments/commentRss/78187.htmlhttp://www.tkk7.com/mmwy/services/trackbacks/78187.html
璁緃ibernate.hbm2ddl.auto涓簎pdate/create-drop/create鍚庯紝鍦╟lasspath涓墧涓涓?import.sql榪涘幓錛宧ibernate鍚姩鏃跺氨浼氭墽琛宨mport.sql鐨勫唴瀹廣?br />
11860 [main] INFO聽 org.hibernate.tool.hbm2ddl.SchemaExport聽 - Running hbm2ddl schema export
11860 [main] DEBUG org.hibernate.tool.hbm2ddl.SchemaExport聽 - import file not found: /import.sql
11875 [main] INFO聽 org.hibernate.tool.hbm2ddl.SchemaExport聽 - exporting generated schema to database


mmwy 2006-10-31 00:32 鍙戣〃璇勮
]]>
絎旇錛?0061015鍦–entOS4.3涓婃惌寤篜HP鏈嶅姟鍣ㄧ幆澧冿紙GD銆乴ibmcrypt銆乵ysql銆丱racle10g鏀寔錛?/title><link>http://www.tkk7.com/mmwy/archive/2006/10/15/75207.html</link><dc:creator>mmwy</dc:creator><author>mmwy</author><pubDate>Sat, 14 Oct 2006 18:46:00 GMT</pubDate><guid>http://www.tkk7.com/mmwy/archive/2006/10/15/75207.html</guid><wfw:comment>http://www.tkk7.com/mmwy/comments/75207.html</wfw:comment><comments>http://www.tkk7.com/mmwy/archive/2006/10/15/75207.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/mmwy/comments/commentRss/75207.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/mmwy/services/trackbacks/75207.html</trackback:ping><description><![CDATA[ <b>浣跨敤鐨勫畨瑁呭寘錛?br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 128, 128);">聽1</span>聽<span style="color: rgb(0, 0, 0);"></span><span style="color: rgb(0, 0, 0);">cronolog-</span><span style="color: rgb(0, 0, 0);">1.6.2</span><span style="color: rgb(0, 0, 0);">.tar.gz聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="color: rgb(0, 128, 128);">聽2</span><span style="color: rgb(0, 0, 0);">httpd-</span><span style="color: rgb(0, 0, 0);">2.0.59</span><span style="color: rgb(0, 0, 0);">.tar.gz聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="color: rgb(0, 128, 128);">聽3</span><span style="color: rgb(0, 0, 0);">instantclient-basic-linux32-</span><span style="color: rgb(0, 0, 0);">10.2.0.2</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">20060331</span><span style="color: rgb(0, 0, 0);">.zip聽聽<br /></span><span style="color: rgb(0, 128, 128);">聽4</span><span style="color: rgb(0, 0, 0);">instantclient-sdk-linux32-</span><span style="color: rgb(0, 0, 0);">10.2.0.2</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">20060331</span><span style="color: rgb(0, 0, 0);">.zip聽聽聽聽<br /></span><span style="color: rgb(0, 128, 128);">聽5</span><span style="color: rgb(0, 0, 0);">libmcrypt-</span><span style="color: rgb(0, 0, 0);">2.5.7</span><span style="color: rgb(0, 0, 0);">.tar.gz聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="color: rgb(0, 128, 128);">聽6</span><span style="color: rgb(0, 0, 0);">mhash-</span><span style="color: rgb(0, 0, 0);">0.9.7.1</span><span style="color: rgb(0, 0, 0);">.tar.gz聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="color: rgb(0, 128, 128);">聽7</span><span style="color: rgb(0, 0, 0);">mysql-</span><span style="color: rgb(0, 0, 0);">3.23.58</span><span style="color: rgb(0, 0, 0);">.tar.gz聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="color: rgb(0, 128, 128);">聽8</span><span style="color: rgb(0, 0, 0);">php-</span><span style="color: rgb(0, 0, 0);">4.4.4</span><span style="color: rgb(0, 0, 0);">.tar.gz聽聽聽聽 </span><span style="color: rgb(0, 0, 0);"></span></div></b> <b> <br />鍙傝冩枃妗?/b>錛?br /><ol><li><a >涓?Linux 鍜?Windows 瀹夎 PHP 鍜?Oracle 10g Instant Client</a></li><li><a >Connecting to Oracle10g from PHP using OCI-8 (Linux)</a></li></ol><b>涓庢枃妗f湁鍑哄鐨勫湴鏂?/b>錛?br /><ol><li>otn涓婂彧鑳戒笅鍒皕ip鏍煎紡鐨刼racle 10g instant client basic鍜宻dk鍖呫傝В鍘嬬緝鍚庯紝鍏ㄩ儴鏀懼埌instantclient_10_2鐩綍涓嬨?br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(128, 0, 0); font-weight: bold;">[</span><span style="color: rgb(128, 0, 0);">root@localhost聽sdk</span><span style="color: rgb(128, 0, 0); font-weight: bold;">]</span><span style="color: rgb(0, 0, 0);">#聽ls聽-l聽..<br />total聽</span><span style="color: rgb(0, 0, 0);">115948</span><span style="color: rgb(0, 0, 0);"><br />-r--r--r--聽聽</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽</span><span style="color: rgb(0, 0, 0);">1594191</span><span style="color: rgb(0, 0, 0);">聽Feb聽聽</span><span style="color: rgb(0, 0, 0);">5</span><span style="color: rgb(0, 0, 0);">聽聽</span><span style="color: rgb(0, 0, 0);">2006</span><span style="color: rgb(0, 0, 0);">聽classes12.jar<br />-rwxrwxr-x聽聽</span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">聽root聽root聽</span><span style="color: rgb(0, 0, 0);">18774535</span><span style="color: rgb(0, 0, 0);">聽Feb聽聽</span><span style="color: rgb(0, 0, 0);">5</span><span style="color: rgb(0, 0, 0);">聽聽</span><span style="color: rgb(0, 0, 0);">2006</span><span style="color: rgb(0, 0, 0);">聽libclntsh.so<br />-rwxrwxr-x聽聽</span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">聽root聽root聽</span><span style="color: rgb(0, 0, 0);">18774535</span><span style="color: rgb(0, 0, 0);">聽Feb聽聽</span><span style="color: rgb(0, 0, 0);">5</span><span style="color: rgb(0, 0, 0);">聽聽</span><span style="color: rgb(0, 0, 0);">2006</span><span style="color: rgb(0, 0, 0);">聽libclntsh.so</span><span style="color: rgb(0, 0, 0);">.10.1</span><span style="color: rgb(0, 0, 0);"><br />-r-xr-xr-x聽聽</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽</span><span style="color: rgb(0, 0, 0);">5623929</span><span style="color: rgb(0, 0, 0);">聽Feb聽聽</span><span style="color: rgb(0, 0, 0);">5</span><span style="color: rgb(0, 0, 0);">聽聽</span><span style="color: rgb(0, 0, 0);">2006</span><span style="color: rgb(0, 0, 0);">聽libnnz10.so<br />-rwxrwxr-x聽聽</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽</span><span style="color: rgb(0, 0, 0);">1398088</span><span style="color: rgb(0, 0, 0);">聽Feb聽聽</span><span style="color: rgb(0, 0, 0);">5</span><span style="color: rgb(0, 0, 0);">聽聽</span><span style="color: rgb(0, 0, 0);">2006</span><span style="color: rgb(0, 0, 0);">聽libocci.so</span><span style="color: rgb(0, 0, 0);">.10.1</span><span style="color: rgb(0, 0, 0);"><br />-rwxrwxr-x聽聽</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">聽root聽root聽</span><span style="color: rgb(0, 0, 0);">70690282</span><span style="color: rgb(0, 0, 0);">聽Feb聽聽</span><span style="color: rgb(0, 0, 0);">5</span><span style="color: rgb(0, 0, 0);">聽聽</span><span style="color: rgb(0, 0, 0);">2006</span><span style="color: rgb(0, 0, 0);">聽libociei.so<br />-r-xr-xr-x聽聽</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽聽</span><span style="color: rgb(0, 0, 0);">119919</span><span style="color: rgb(0, 0, 0);">聽Feb聽聽</span><span style="color: rgb(0, 0, 0);">5</span><span style="color: rgb(0, 0, 0);">聽聽</span><span style="color: rgb(0, 0, 0);">2006</span><span style="color: rgb(0, 0, 0);">聽libocijdbc10.so<br />-r--r--r--聽聽</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽</span><span style="color: rgb(0, 0, 0);">1540457</span><span style="color: rgb(0, 0, 0);">聽Feb聽聽</span><span style="color: rgb(0, 0, 0);">5</span><span style="color: rgb(0, 0, 0);">聽聽</span><span style="color: rgb(0, 0, 0);">2006</span><span style="color: rgb(0, 0, 0);">聽ojdbc14.jar<br />drwxr-xr-x聽聽</span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽聽聽聽</span><span style="color: rgb(0, 0, 0);">4096</span><span style="color: rgb(0, 0, 0);">聽Oct聽</span><span style="color: rgb(0, 0, 0);">17</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">04</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">27</span><span style="color: rgb(0, 0, 0);">聽sdk<br /></span><span style="color: rgb(128, 0, 0); font-weight: bold;">[</span><span style="color: rgb(128, 0, 0);">root@localhost聽sdk</span><span style="color: rgb(128, 0, 0); font-weight: bold;">]</span><span style="color: rgb(0, 0, 0);">#聽ls聽-l<br />total聽</span><span style="color: rgb(0, 0, 0);">324</span><span style="color: rgb(0, 0, 0);"><br />drwxr-xr-x聽聽</span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽聽</span><span style="color: rgb(0, 0, 0);">4096</span><span style="color: rgb(0, 0, 0);">聽Oct聽</span><span style="color: rgb(0, 0, 0);">17</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">04</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">27</span><span style="color: rgb(0, 0, 0);">聽demo<br />drwxr-xr-x聽聽</span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽聽</span><span style="color: rgb(0, 0, 0);">4096</span><span style="color: rgb(0, 0, 0);">聽Oct聽</span><span style="color: rgb(0, 0, 0);">17</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">04</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">27</span><span style="color: rgb(0, 0, 0);">聽include<br />-r-xr-xr-x聽聽</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">聽root聽root聽聽聽聽</span><span style="color: rgb(0, 0, 0);">346</span><span style="color: rgb(0, 0, 0);">聽Oct聽</span><span style="color: rgb(0, 0, 0);">17</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">04</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">27</span><span style="color: rgb(0, 0, 0);">聽ott<br />-rw-r--r--聽聽</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">聽root聽root聽</span><span style="color: rgb(0, 0, 0);">298274</span><span style="color: rgb(0, 0, 0);">聽Oct聽</span><span style="color: rgb(0, 0, 0);">17</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">04</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">27</span><span style="color: rgb(0, 0, 0);">聽ottclasses.zip</span></div></li><li><span style="color: rgb(0, 0, 0);">php4.4.4宸茬粡鎻愪緵浜?-with-oci8-instant-client鍙傛暟鐨勬敮鎸侊紝鍚屾椂淇浜嗙浉鍏寵ˉ涓侊紝鍥犳錛屾枃妗d腑涓簆hp鎵撹ˉ涓併侀噸寤?/span>鈥渃onfigure鈥濊剼鏈殑姝ラ鍙互鐪佺暐銆?/li></ol><b>鐜鍙橀噺</b>:<br /><ol><li>鍦↙D_LIBRARY_PATH涓坊鍔?span style="color: rgb(0, 0, 0);">oracle 10g instant client鐨勮礬寰勩?br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">export聽LD_LIBRARY_PATH</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/www/server/instantclient_10_2/:${LD_LIBRARY_PATH}</span></div></span></li><li><span style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">璁劇疆TNS_ADMIN涓簅racle tnsname.ora鏂囦歡鎵鍦ㄧ洰褰曘?br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">export聽TNS_ADMIN</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/u01/app/oracle/product/10g/network/admin/</span></div></span></span></li></ol><b>緙栬瘧鑴氭湰</b>錛?br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">./configure \<br />--prefix</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/www/server/php-</span><span style="color: rgb(0, 0, 0);">4.4.4</span><span style="color: rgb(0, 0, 0);"> \<br />--with-apxs2</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/www/server/httpd-</span><span style="color: rgb(0, 0, 0);">2.0.59</span><span style="color: rgb(0, 0, 0);">/bin/apxs \<br />--with-mysql</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/www/server/mysql-</span><span style="color: rgb(0, 0, 0);">3.23.58</span><span style="color: rgb(0, 0, 0);"> \<br />--with-mcrypt</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/www/server/libmcrypt-</span><span style="color: rgb(0, 0, 0);">2.5.7</span><span style="color: rgb(0, 0, 0);"> \<br />--with-mhash</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/www/server/mhash-</span><span style="color: rgb(0, 0, 0);">0.9.7.1</span><span style="color: rgb(0, 0, 0);"> \<br />--with-gd聽--with-zlib \<br />--with-oci8-instant-client</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/www/server/instantclient_10_2<br /></span></div>娉細闇瑕佷嬌鐢╨n鍛戒護涓簂ibclntsh.so.10.1鍒涘緩涓涓悕涓?b>libclntsh.so</b>鐨勮繛鎺ワ紝鍚﹀垯鍦╟onfigure榪囩▼涓皢浼氬嚭鐜癳rror:Link xxxx not found鐨勯敊璇傦紙<a >http://forums.oracle.com/forums/thread.jspa?messageID=1203218&#1203218</a>錛?br /><br /><b>嫻嬭瘯</b>錛?br /><ol><li>瀹夎鎴愬姛鐨勮瘽錛屽湪phpinfo()淇℃伅涓彲浠ョ湅鍒扮浉搴斾俊鎭?div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">OCI8聽Support聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 enabled<br />Revision聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 $Revision:聽</span><span style="color: rgb(0, 0, 0);">1.183.2.18.2.3</span><span style="color: rgb(0, 0, 0);">聽$<br />Oracle聽Version聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 </span><span style="color: rgb(0, 0, 0);">10.1</span><span style="color: rgb(0, 0, 0);"><br />Compile-time聽ORACLE_HOME聽聽聽聽聽 /www/server/instantclient_10_2<br />Libraries聽Used聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 no聽value</span></div></li><li><span style="color: rgb(0, 0, 0);">嫻嬭瘯浠g爜<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 128, 128);">聽1</span>聽<span style="color: rgb(0, 0, 0);"><?</span><span style="color: rgb(0, 0, 0);">php聽<br /></span><span style="color: rgb(0, 128, 128);">聽2</span>聽<span style="color: rgb(0, 0, 0);"></span><span style="color: rgb(128, 0, 128);">$conn</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽OCILogon(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">username</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">password</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">//127.0.0.1:1521/sid</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /></span><span style="color: rgb(0, 128, 128);">聽3</span>聽<span style="color: rgb(0, 0, 0);"></span><span style="color: rgb(128, 0, 128);">$query</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">select聽table_name聽from聽user_tables</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;<br /></span><span style="color: rgb(0, 128, 128);">聽4</span>聽<span style="color: rgb(0, 0, 0);"></span><span style="color: rgb(128, 0, 128);">$stid</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽OCIParse(</span><span style="color: rgb(128, 0, 128);">$conn</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(128, 0, 128);">$query</span><span style="color: rgb(0, 0, 0);">);<br /></span><span style="color: rgb(0, 128, 128);">聽5</span>聽<span style="color: rgb(0, 0, 0);">OCIExecute(</span><span style="color: rgb(128, 0, 128);">$stid</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">聽OCI_DEFAULT);<br /></span><span style="color: rgb(0, 128, 128);">聽6</span>聽<span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 128, 128);">聽7</span>聽<span style="color: rgb(0, 0, 0);"></span><span style="color: rgb(0, 0, 255);">while</span><span style="color: rgb(0, 0, 0);">聽(</span><span style="color: rgb(128, 0, 128);">$succ</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽OCIFetchInto(</span><span style="color: rgb(128, 0, 128);">$stid</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(128, 0, 128);">$row</span><span style="color: rgb(0, 0, 0);">))聽{<br /></span><span style="color: rgb(0, 128, 128);">聽8</span>聽<span style="color: rgb(0, 0, 0);">聽聽聽聽</span><span style="color: rgb(0, 0, 255);">foreach</span><span style="color: rgb(0, 0, 0);">聽(</span><span style="color: rgb(128, 0, 128);">$row</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">as</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(128, 0, 128);">$item</span><span style="color: rgb(0, 0, 0);">)聽{<br /></span><span style="color: rgb(0, 128, 128);">聽9</span>聽<span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">echo</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(128, 0, 128);">$item</span><span style="color: rgb(0, 0, 0);">.</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /></span><span style="color: rgb(0, 128, 128);">10</span>聽<span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽}<br /></span><span style="color: rgb(0, 128, 128);">11</span>聽<span style="color: rgb(0, 0, 0);">聽聽聽聽</span><span style="color: rgb(0, 0, 255);">echo</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);"><br>\n</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /></span><span style="color: rgb(0, 128, 128);">12</span>聽<span style="color: rgb(0, 0, 0);">聽}<br /></span><span style="color: rgb(0, 128, 128);">13</span>聽<span style="color: rgb(0, 0, 0);">OCILogoff(</span><span style="color: rgb(128, 0, 128);">$conn</span><span style="color: rgb(0, 0, 0);">);<br /></span><span style="color: rgb(0, 128, 128);">14</span>聽<span style="color: rgb(0, 0, 0);"></span><span style="color: rgb(0, 0, 0);">?></span></div><br /></span></li></ol><br /><img src ="http://www.tkk7.com/mmwy/aggbug/75207.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/mmwy/" target="_blank">mmwy</a> 2006-10-15 02:46 <a href="http://www.tkk7.com/mmwy/archive/2006/10/15/75207.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>mysql 3.23.58 charset璁劇疆瀵筨lob瀛楁鎿嶄綔鐨勫獎鍝?/title><link>http://www.tkk7.com/mmwy/archive/2006/10/12/74800.html</link><dc:creator>mmwy</dc:creator><author>mmwy</author><pubDate>Thu, 12 Oct 2006 07:54:00 GMT</pubDate><guid>http://www.tkk7.com/mmwy/archive/2006/10/12/74800.html</guid><wfw:comment>http://www.tkk7.com/mmwy/comments/74800.html</wfw:comment><comments>http://www.tkk7.com/mmwy/archive/2006/10/12/74800.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/mmwy/comments/commentRss/74800.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/mmwy/services/trackbacks/74800.html</trackback:ping><description><![CDATA[鏈榪戝湪鈥滅帺鈥漢ibernate Annotation錛屽紕浜嗕釜Attachment淇濆瓨榪涙暟鎹簱鐨勬祴璇曪紝闄勪歡鍐呭淇濆瓨鍦╟ontent灞炴ч噷闈€?br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">聽聽@Lob<br />聽聽@Column(columnDefinition聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">LongBlob</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">)<br />聽聽</span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[]聽getContent()聽{<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">聽content;<br />聽聽}</span></div>涓寮濮嬶紝閰嶇疆mysql jdbc url濡備笅<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">jdbc.url聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽聽聽聽jdbc:mysql://localhost/test\<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽?useUnicode</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">true\<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽&characterEncoding</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">gbk</span><span style="color: rgb(0, 0, 0);"></span></div>涓嫻嬭瘯錛屾姤閿?br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">Caused聽by:聽java.sql.BatchUpdateException:聽Syntax聽error聽or聽access聽violation聽message聽from聽server:聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">You聽have聽an聽error聽in聽your聽SQL聽syntax聽near聽''D0CF11E0A1B11AE1000000000000000000000000000000003E000300FEFF0900060000000000000'聽at聽line聽1</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽at聽com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:</span><span style="color: rgb(0, 0, 0);">1540</span><span style="color: rgb(0, 0, 0);">)</span></div>鍚屾牱鐨勮鍙ワ紝鐩存帴鍦╩ysql鍛戒護琛屼笅榪愯灝辨病闂錛屽亸鍋廽dbc涓婂氨鏈夎繖鑷瘺鐥呫傛崲jdbc driver鐗堟湰錛屾敼@Lob涓?@Type(type = "org.springframework.orm.hibernate3.support.BlobByteArrayType")錛屾敼hibernate閰嶇疆錛堟瘮濡俬ibernate.jdbc.use_streams_for_binary true錛夛紝鐢氳嚦鏄洿鎺ョ敤jdbc鏉nsert錛屼貢涓冨叓緋熸姌鑵懼崐澶╋紝闂鐓ф棫銆傛渶鍚庡彧濂界敤涓娾滄鈥濇嫑錛屾妸byte[]閰嶆垚String錛屽湪淇濆瓨鐨勬椂鍊欐妸byte[]淇濆瓨鎴恏ex String鏍煎紡錛屽彇鐨勬椂鍊欏啀瑙g爜鍥炴潵銆?br /><br />姝嫑緇堝綊鏄鎷涳紝榪欎袱澶╄佷負榪欎笢瑗垮績鐑︼紝鏅氫笂鍚冮キ鐨勬椂鍊欐棤鎰忎腑鎯寵搗charset鐨勯棶棰橈紝鎶婁唬鐮佹崱鍥炴潵鍐嶆祴璇曚簡涓涓嬶紝闂瑙e喅錛屽搱鍝堬紒<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">jdbc.url聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽聽聽聽jdbc:mysql://localhost/mmwy_blog\<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽?useUnicode</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">true\<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽&characterEncoding</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">utf-</span><span style="color: rgb(0, 0, 0);">8</span></div>濡傛灉璁炬垚iso-8859-1銆乽tf-8,淇濆瓨涓鐐歸棶棰橀兘娌℃湁錛屾崲鐢╣bk銆乬b2312銆乥ig5涔嬬被鐨勫瓧絎﹂泦錛岄棶棰樺氨鍑烘潵浜嗐?br /><br /><img src ="http://www.tkk7.com/mmwy/aggbug/74800.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/mmwy/" target="_blank">mmwy</a> 2006-10-12 15:54 <a href="http://www.tkk7.com/mmwy/archive/2006/10/12/74800.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://717795.com" target="_blank">国产国产人免费人成免费视频</a>| <a href="http://sewuji.com" target="_blank">97视频热人人精品免费</a>| <a href="http://583s.com" target="_blank">免费在线观看a级毛片</a>| <a href="http://thinkchating.com" target="_blank">亚洲午夜无码毛片av久久京东热</a>| <a href="http://niutextile.com" target="_blank">中文字幕免费高清视频</a>| <a href="http://zengzeyu.com" target="_blank">亚洲av无码乱码国产精品fc2</a>| <a href="http://52099jy.com" target="_blank">香蕉免费一级视频在线观看</a>| <a href="http://0359jgyy.com" target="_blank">精品亚洲成α人无码成α在线观看 </a>| <a href="http://118762.com" target="_blank">亚洲成a人片77777群色</a>| <a href="http://wenbye.com" target="_blank">国产成人精品一区二区三区免费</a>| <a href="http://516698.com" target="_blank">亚洲国产成人VA在线观看</a>| <a href="http://yongyihongze.com" target="_blank">国产成人亚洲精品播放器下载</a>| <a href="http://wwwly6080.com" target="_blank">四虎AV永久在线精品免费观看</a>| <a href="http://9ts9.com" target="_blank">香蕉视频免费在线</a>| <a href="http://xhm33.com" target="_blank">亚洲熟妇av一区二区三区</a>| <a href="http://haodiaose35pao.com" target="_blank">97超高清在线观看免费视频</a>| <a href="http://88533066.com" target="_blank">国产亚洲人成无码网在线观看</a>| <a href="http://jinmenonline.com" target="_blank">毛片在线播放免费观看</a>| <a href="http://mangaou.com" target="_blank">亚洲国产午夜精品理论片</a>| <a href="http://959901cc.com" target="_blank">最新猫咪www免费人成</a>| <a href="http://91sebo.com" target="_blank">亚洲AV成人无码网站</a>| <a href="http://gzmandala.com" target="_blank">亚洲男女内射在线播放</a>| <a href="http://71caoxee.com" target="_blank">黄色免费在线网站</a>| <a href="http://sxgzjssb.com" target="_blank">亚洲日本乱码一区二区在线二产线</a>| <a href="http://988938.com" target="_blank">成视频年人黄网站免费视频</a>| <a href="http://yy6090qpgdy.com" target="_blank">亚洲人成自拍网站在线观看</a>| <a href="http://wushicn.com" target="_blank">亚洲国产成人久久综合野外</a>| <a href="http://zhhy68.com" target="_blank">中文字幕永久免费视频</a>| <a href="http://sswg2.com" target="_blank">亚洲国产视频一区</a>| <a href="http://664403.com" target="_blank">全亚洲最新黄色特级网站 </a>| <a href="http://www62hth.com" target="_blank">亚洲色中文字幕在线播放</a>| <a href="http://wbkk88.com" target="_blank">亚洲日韩VA无码中文字幕</a>| <a href="http://zp0533.com" target="_blank">日日麻批免费40分钟无码</a>| <a href="http://amjt9.com" target="_blank">亚洲乱人伦中文字幕无码</a>| <a href="http://xjscr.com" target="_blank">亚洲国产成人乱码精品女人久久久不卡 </a>| <a href="http://43caopen.com" target="_blank">亚洲综合精品网站在线观看</a>| <a href="http://okgou58.com" target="_blank">亚洲影视自拍揄拍愉拍</a>| <a href="http://dghxm168.com" target="_blank">国产美女无遮挡免费视频网站</a>| <a href="http://paweax.com" target="_blank">国产99久久久国产精免费</a>| <a href="http://changfafangzhi.com" target="_blank">亚洲高清美女一区二区三区</a>| <a href="http://kyqp0022.com" target="_blank">在线免费观看国产视频</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>