锘??xml version="1.0" encoding="utf-8" standalone="yes"?>天天综合入口,成人精品一区二区三区校园激情,久久久国产精品一区二区中文http://www.aygfsteel.com/tnq/浣庤皟鐨勫紶鐙?/description>zh-cnThu, 19 Jun 2025 09:22:39 GMTThu, 19 Jun 2025 09:22:39 GMT60SQLServer2000涓嬌鐢↗DBC鐨勯棶棰?/title><link>http://www.aygfsteel.com/tnq/archive/2008/02/02/179093.html</link><dc:creator>JIMU</dc:creator><author>JIMU</author><pubDate>Sat, 02 Feb 2008 14:14:00 GMT</pubDate><guid>http://www.aygfsteel.com/tnq/archive/2008/02/02/179093.html</guid><wfw:comment>http://www.aygfsteel.com/tnq/comments/179093.html</wfw:comment><comments>http://www.aygfsteel.com/tnq/archive/2008/02/02/179093.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/tnq/comments/commentRss/179093.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/tnq/services/trackbacks/179093.html</trackback:ping><description><![CDATA[<p>鍦ㄤ嬌鐢∕icrosoft鎻愪緵鐨凧DBC鍙兘寰堝浜洪兘閬囧埌浠ヤ笅涓や釜闂錛屼粖澶╀竴涓湅鍙嬪湪浣跨敤鐨勬椂鍊欏氨閬囧埌浜嗭紝鍚庢潵甯湅鍙嬫妸闂瑙e喅浜嗭紝鍦ㄨВ鍐抽棶棰樼殑榪囩▼涓垜涔熸煡浜嗕簺璧勬枡錛屽湪緗戜笂鍙戠幇鏈変竴浜涙湅鍙嬪榪欎簺闂涓嶆槸寰堟竻妤氾紝鎵浠ヤ粖澶╂妸榪欎袱涓棶棰樺啓涓嬫潵錛屽ぇ瀹朵竴璧蜂氦嫻佽繘姝ャ?/p> <p>闂涓錛?br /> 鍑虹幇寮傚父錛欳an't start a cloned connection while in manual transaction mode.<br /> 鍘熷洜錛氫粖澶╂湅鍙嬮亣涓婅繖涓棶棰樻槸鍥犱負浣跨敤浜嗗涓猄tatement錛屽茍涓斾嬌鐢ㄤ簡鎵嬪姩浜嬪姟鐘舵併?br /> 瑙e喅鏂規硶錛氬湪鏁版嵁搴撹繛鎺ュ瓧絎︿覆涓姞鍏electMethod=Cursor鍗沖彲錛孲electMethod鐨勯粯璁ゆā寮忎負direct錛屼唬鐮侊細<br /> <br /> </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"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">jdbc:microsoft:sqlserver:</span><span style="color: #008000">//</span><span style="color: #008000">localhost:1433;DatabaseName=test;SelectMethod=Cursor</span></div> <br /> 闂浜岋細<br /> 鍑虹幇寮傚父錛歝om.microsoft.jdbc.sqlserver.SQLServerConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;<br /> 鍘熷洜錛氫嬌鐢ㄤ簡鑷姩緇戝畾涓婚敭錛屼唬鐮侊細<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"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">String sql </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">INSERT INTO test values(?)</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />PreparedStatement pstmt </span><span style="color: #000000">=</span><span style="color: #000000"> conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />pstmt.setString(</span><span style="color: #000000">1</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">test</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />pstmt.executeUpdate();</span></div> <br /> 瑙e喅鏂規硶錛氳繖閲屾垜鏄嬌鐢ㄤ簡絎笁鏂笿DBC鍖咃紙jtds錛夎В鍐崇殑錛屼笅杞藉湴鍧錛歨ttp://jtds.Sourceforge.net錛屼笅闈㈣創鍑篔DBC椹卞姩鍙婅繛鎺ュ湴鍧錛?<br /> <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"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">String driver</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">net.sourceforge.jtds.jdbc.Driver</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />String url</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">jdbc:jtds:sqlserver://localhost:1433;DatabaseName=test</span><span style="color: #000000">"</span><span style="color: #000000">; </span></div> <br /> 鍏充簬絎簩涓棶棰橈紝濡傛灉鏈夋湅鍙嬬煡閬撳浣曞湪SQLServer2000鐨凧DBC涓В鍐籌紝璇風粰鎴戠暀璦錛屼竴璧蜂氦嫻佽繘姝ャ?br /> 鍦ㄨ繖閲屾帹鑽愪嬌鐢ㄧ涓夋柟JDBC錛坖tds錛夊寘錛岀敤榪欎釜鍖呯殑璇濊嚦灝戜互涓婁袱涓棶棰橀兘涓嶇敤鎷呭績銆? <img src ="http://www.aygfsteel.com/tnq/aggbug/179093.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/tnq/" target="_blank">JIMU</a> 2008-02-02 22:14 <a href="http://www.aygfsteel.com/tnq/archive/2008/02/02/179093.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">襄垣县</a>| <a href="http://" target="_blank">左权县</a>| <a href="http://" target="_blank">吕梁市</a>| <a href="http://" target="_blank">三门县</a>| <a href="http://" target="_blank">榆树市</a>| <a href="http://" target="_blank">沁水县</a>| <a href="http://" target="_blank">沅陵县</a>| <a href="http://" target="_blank">九龙城区</a>| <a href="http://" target="_blank">临朐县</a>| <a href="http://" target="_blank">托里县</a>| <a href="http://" target="_blank">长宁区</a>| <a href="http://" target="_blank">金山区</a>| <a href="http://" target="_blank">修武县</a>| <a href="http://" target="_blank">定陶县</a>| <a href="http://" target="_blank">平阴县</a>| <a href="http://" target="_blank">谷城县</a>| <a href="http://" target="_blank">阜宁县</a>| <a href="http://" target="_blank">大兴区</a>| <a href="http://" target="_blank">江孜县</a>| <a href="http://" target="_blank">龙山县</a>| <a href="http://" target="_blank">长岭县</a>| <a href="http://" target="_blank">贺兰县</a>| <a href="http://" target="_blank">左贡县</a>| <a href="http://" target="_blank">象州县</a>| <a href="http://" target="_blank">巴彦淖尔市</a>| <a href="http://" target="_blank">承德市</a>| <a href="http://" target="_blank">丹巴县</a>| <a href="http://" target="_blank">阜阳市</a>| <a href="http://" target="_blank">麻栗坡县</a>| <a href="http://" target="_blank">黄梅县</a>| <a href="http://" target="_blank">朝阳县</a>| <a href="http://" target="_blank">永城市</a>| <a href="http://" target="_blank">甘德县</a>| <a href="http://" target="_blank">三明市</a>| <a href="http://" target="_blank">谢通门县</a>| <a href="http://" target="_blank">页游</a>| <a href="http://" target="_blank">项城市</a>| <a href="http://" target="_blank">沙坪坝区</a>| <a href="http://" target="_blank">阿图什市</a>| <a href="http://" target="_blank">晋城</a>| <a href="http://" 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>