锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲国产精品成人av,首播影院在线观看免费观看电视,国产一区二区不卡在线http://www.aygfsteel.com/tnq/浣庤皟鐨勫紶鐙?/description>zh-cnThu, 19 Jun 2025 16:33:52 GMTThu, 19 Jun 2025 16:33:52 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>