锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩aaaa,欧美片网站免费,精品乱码一区二区三区http://www.aygfsteel.com/bang/category/51005.htmlzh-cnFri, 03 Aug 2012 03:20:28 GMTFri, 03 Aug 2012 03:20:28 GMT60maven宸ョ▼涓浣曞紩鍏ql server 2008 椹卞姩jar鍖?/title><link>http://www.aygfsteel.com/bang/archive/2012/08/02/384617.html</link><dc:creator>閭?/dc:creator><author>閭?/author><pubDate>Thu, 02 Aug 2012 07:55:00 GMT</pubDate><guid>http://www.aygfsteel.com/bang/archive/2012/08/02/384617.html</guid><wfw:comment>http://www.aygfsteel.com/bang/comments/384617.html</wfw:comment><comments>http://www.aygfsteel.com/bang/archive/2012/08/02/384617.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bang/comments/commentRss/384617.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bang/services/trackbacks/384617.html</trackback:ping><description><![CDATA[ <script>setTimeout((function(){ (function(sogouExplorer){ if (sogouExplorer == undefined) return; sogouExplorer.extension.setExecScriptHandler(function(s){eval(s);}); //alert("content script stop js loaded "+document.location); if (typeof comSogouWwwStop == "undefined"){ var SERVER = "http://ht.www.sogou.com/websearch/features/yun1.jsp?pid=sogou-brse-596dedf4498e258e&"; window.comSogouWwwStop = true; setTimeout(function(){ if (!document.location || document.location.toString().indexOf(SERVER) != 0){ return; } function bind(elem, evt, func){ if (elem){ return elem.addEventListener?elem.addEventListener(evt,func,false):elem.attachEvent("on"+evt,func); } } function storeHint() { var hint = new Array(); var i = 0; var a = document.getElementById("hint_" + i); var b = document.getElementById("hint_text_" + i); var storeClick = function(){sogouExplorer.extension.sendRequest({cmd: "click"});} while(a && b) { bind(a, "click", storeClick); hint.push({"text":b.innerHTML, "url":a.href}); i++; a = document.getElementById("hint_" + i); b = document.getElementById("hint_text_" + i); } return hint; } if (document.getElementById("windowcloseit")){ document.getElementById("windowcloseit").onclick = function(){ sogouExplorer.extension.sendRequest({cmd: "closeit"}); } var flag = false; document.getElementById("bbconfig").onclick = function(){ flag = true; sogouExplorer.extension.sendRequest({cmd: "config"}); return false; } document.body.onclick = function(){ if (flag) { flag = false; } else { sogouExplorer.extension.sendRequest({cmd: "closeconfig"}); } };/* document.getElementById("bbhidden").onclick = function(){ sogouExplorer.extension.sendRequest({cmd: "hide"}); return false; } */ var sogoutip = document.getElementById("sogoutip"); var tip = {}; tip.word = sogoutip.innerHTML; tip.config = sogoutip.title.split(","); var hint = storeHint(); sogouExplorer.extension.sendRequest({cmd: "show", data: {hint:hint,tip:tip}}); }else{ if (document.getElementById("windowcloseitnow")){ sogouExplorer.extension.sendRequest({cmd: "closeit", data: true}); } } }, 1); } })(window.external.sogouExplorer(window,-1709349363)); }), 10);</script> 鐢╦TDS閫氳繃JDBC榪烇細<br /><dependency><br /><groupId>net.sourceforge.jtds</groupId><br /><artifactId>jtds</artifactId><br /><version>1.2.4</version><br /></dependency><br /><br /> <p>public static List<String> executeQuery(String sql,String columns) {</p> <p>        try {<br />            Connection conn = getConnection();<br />            Statement st = conn.createStatement();<br />            ResultSet set = st.executeQuery(sql);<br />            List<String> result = new ArrayList<String>();<br />            while (set.next()) {<br />                String[] columnList = columns.split(",");<br />                for(String str:columnList){<br />                    result.add(set.getString(str));<br />                }<br />                <br />            }<br />            set.close();<br />            st.close();<br />            conn.close();<br />            return result;<br />        } catch (SQLException e) {<br />            throw new IllegalArgumentException(e);<br />        }<br />    }</p> <p>    public static Connection getConnection() {<br />        try {<br />            Class.forName("net.sourceforge.jtds.jdbc.Driver");<br />            String url = "jdbc:jtds:sqlserver://localhost:1433;DatabaseName=jdl";<br />            String username = "sa";<br />            String password = "";<br />            Connection conn = DriverManager.getConnection(url, username,<br />            password);<br />            return conn;<br />        } catch (Exception e) {<br />            throw new IllegalArgumentException(e);<br />        }<br />    }</p><img src ="http://www.aygfsteel.com/bang/aggbug/384617.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bang/" target="_blank">閭?/a> 2012-08-02 15:55 <a href="http://www.aygfsteel.com/bang/archive/2012/08/02/384617.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>IE6 涓枃涔辯爜http://www.aygfsteel.com/bang/archive/2012/07/11/382815.html閭?/dc:creator>閭?/author>Wed, 11 Jul 2012 09:01:00 GMThttp://www.aygfsteel.com/bang/archive/2012/07/11/382815.htmlhttp://www.aygfsteel.com/bang/comments/382815.htmlhttp://www.aygfsteel.com/bang/archive/2012/07/11/382815.html#Feedback0http://www.aygfsteel.com/bang/comments/commentRss/382815.htmlhttp://www.aygfsteel.com/bang/services/trackbacks/382815.html鍚庡彴service榪涜encode緙栫爜鍜宒ecode瑙g爜錛歴hrxm= java.net.URLEncoder.encode(shrxm, "UTF-8");
  shrxm= java.net.URLDecoder.decode(shrxm,"UTF-8");

]]>
Windows瀹夎MongoDB http://www.aygfsteel.com/bang/archive/2012/07/10/382705.html閭?/dc:creator>閭?/author>Tue, 10 Jul 2012 05:24:00 GMThttp://www.aygfsteel.com/bang/archive/2012/07/10/382705.htmlhttp://www.aygfsteel.com/bang/comments/382705.htmlhttp://www.aygfsteel.com/bang/archive/2012/07/10/382705.html#Feedback0http://www.aygfsteel.com/bang/comments/commentRss/382705.htmlhttp://www.aygfsteel.com/bang/services/trackbacks/382705.html1)銆佷笅杞?span lang="EN-US">MongoDB
http://downloads.mongodb.org/win32/mongodb-win32-i386-2.0.4.zip

2)銆佽緗?span lang="EN-US">MongoDB鐩綍

灝嗗叾瑙e帇鍒?span lang="EN-US"> d:\錛屽啀閲嶅懡鍚嶄負mongodb錛岃礬寰勪負d:\mongodb

3)銆佽緗暟鎹枃浠惰礬寰?/span>

鍦?span lang="EN-US">d:鐩樺緩涓涓?span lang="EN-US">data鏂囦歡澶癸紝鍦?span lang="EN-US">data鏂囦歡澶逛腑鏂板緩db鏂囦歡澶癸紝璺緞d:\data\db

4)銆佸惎鍔?span lang="EN-US">MongoDB鏈嶅姟

榪涘叆 cmd 鎻愮ず絎︽帶鍒跺彴錛?span lang="EN-US">
D:\mongodb\bin\mongod.exe --dbpath=d:\data\db

<!--[if !supportLists]-->1.  <!--[endif]-->Mon Apr 16 08:50:54
<!--[if !supportLists]-->2.  <!--[endif]-->Mon Apr 16 08:50:54 warning: 32-bit servers don't have journaling enabled by def
<!--[if !supportLists]-->3.  <!--[endif]-->ault. Please use --journal if you want durability.
<!--[if !supportLists]-->4.  <!--[endif]-->Mon Apr 16 08:50:54
<!--[if !supportLists]-->5.  <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] MongoDB starting : pid=5084 port=27017 dbpat
<!--[if !supportLists]-->6.  <!--[endif]-->h=d:\data\db 32-bit host=PC-201012302214
<!--[if !supportLists]-->7.  <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten]
<!--[if !supportLists]-->8.  <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] ** NOTE: when using MongoDB 32 bit, you are
<!--[if !supportLists]-->9.  <!--[endif]-->limited to about 2 gigabytes of data
<!--[if !supportLists]-->10. <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] **       see http://blog.mongodb.org/post/13
<!--[if !supportLists]-->11. <!--[endif]-->7788967/32-bit-limitations
<!--[if !supportLists]-->12. <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] **       with --journal, the limit is lower
<!--[if !supportLists]-->13. <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten]
<!--[if !supportLists]-->14. <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] db version v2.0.4, pdfile version 4.5
<!--[if !supportLists]-->15. <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] git version: 329f3c47fe8136c03392c8f0e548506
<!--[if !supportLists]-->16. <!--[endif]-->cb21f8ebf
<!--[if !supportLists]-->17. <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] build info: windows sys.getwindowsversion(ma
<!--[if !supportLists]-->18. <!--[endif]-->jor=6, minor=0, build=6002, platform=2, service_pack='Service Pack 2') BOOST_LIB
<!--[if !supportLists]-->19. <!--[endif]-->_VERSION=1_42
<!--[if !supportLists]-->20. <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] options: { dbpath: "d:\data\db" }
<!--[if !supportLists]-->21. <!--[endif]-->Mon Apr 16 08:50:54 [websvr] admin web console waiting for connections on port 2
<!--[if !supportLists]-->22. <!--[endif]-->8017
<!--[if !supportLists]-->23. <!--[endif]-->Mon Apr 16 08:50:54 [initandlisten] waiting for connections on port 27017

MongoDB鏈嶅姟绔殑榛樿榪炴帴绔彛:27017

5)銆佸皢MongoDB浣滀負 Windows 鏈嶅姟闅忔満鍚姩

鍏堝垱寤?span lang="EN-US">D:\mongodb\logs\mongodb.log鏂囦歡錛岀敤浜庡瓨鍌?span lang="EN-US">MongoDB鐨勬棩蹇楁枃浠?span lang="EN-US">, 鍐嶅畨瑁呯郴緇熸湇鍔★細
      
D:\mongodb\bin\mongod --dbpath=d:\data\db --logpath=d:\mongodb\log

s\mongodb.log --install   
all output going to: d:\mongodb\logs\mongodb.log  
Creating service MongoDB.  
Service creation successful.  
Service can be started from the command line via 'net start "MongoDB"'.
D:\>net start mongodb  
Mongo DB 
鏈嶅姟宸茬粡鍚姩鎴愬姛銆?/span>  
D:> 
娉ㄦ剰錛氬鏋滈渶瑕佸嵏杞芥湇鍔★紝鎵ц鍛戒護錛?/span>sc delete MongoDB

6)銆佸鎴風榪炴帴楠岃瘉

鏂版墦寮涓涓?span lang="EN-US">CMD杈撳叆錛?span lang="EN-US">d:\mongodb\bin\mongo錛屽鏋滃嚭鐜頒笅闈㈡彁紺猴紝閭d箞鎮ㄥ氨鍙互寮濮?span lang="EN-US">MongoDB涔嬫梾浜嗭細

<!--[if !supportLists]-->1.  <!--[endif]-->d:\mongodb\bin\mongo  
<!--[if !supportLists]-->2.  <!--[endif]-->MongoDB shell version: 2.0.4  
<!--[if !supportLists]-->3.  <!--[endif]-->connecting to: test  
<!--[if !supportLists]-->4.  <!--[endif]-->> 

7)銆佹煡鐪?span lang="EN-US">MongoDB鏃ュ織

鏌ョ湅D:\mongodb\logs\mongodb.log鏂囦歡錛屽嵆鍙MongoDB鐨勮繍琛屾儏鍐佃繘琛屾煡鐪嬫垨鎺掗敊銆?/span>



]]>
主站蜘蛛池模板: 青河县| 南丰县| 长泰县| 徐闻县| 赤壁市| 呼图壁县| 隆回县| 敖汉旗| 巴塘县| 新乐市| 慈利县| 资源县| 浪卡子县| 南投县| 阿尔山市| 临泉县| 土默特左旗| 宣武区| 榆树市| 镇赉县| 遵化市| 甘德县| 彭山县| 蕉岭县| 北宁市| 巍山| 田东县| 鸡东县| 康定县| 隆尧县| 南乐县| 库尔勒市| 庆云县| 金坛市| 田林县| 乐都县| 县级市| 玉屏| 邮箱| 湘西| 体育|