<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          BottomlineJDBC底層驅(qū)動(dòng)

          聯(lián)合創(chuàng)作 · 2023-09-30 18:30

          Bottomline 是一個(gè)底層的JDBC接口,用于直接從jar文件中加載數(shù)據(jù)庫(kù)驅(qū)動(dòng)程序,其結(jié)構(gòu)如下圖所示

          示例代碼

          Class.forName("xeus.bottomline.BottomlineDriver");

          Properties props = new Properties();
          props.put("user", "root");
          props.put("password", "root");
          props.put("jar","D:\\database-drivers\\mysql-connector-java-5.0.3\\mysql-connector-java-5.0.3-bin.jar");
          props.put("class", "com.mysql.jdbc.Driver");

          Connection conn = DriverManager.getConnection("jdbc:bottomline:mysql://localhost:3306/myDB", props);

          /*
          In version 1.2 or later.
          The connection parameters can be passed as Query String to the connection URL
          */

          Connection conn1 = DriverManager.getConnection("jdbc:bottomline:mysql://localhost:3306/myDB?user=root&password=root"
                                   + "
          &jar=D:\\database-drivers\\mysql-connector-java-5.0.3\\mysql-connector-java-5.0.3-bin.jar"
                                   +
          "&class=com.mysql.jdbc.Driver");

          // And also like the following

          Connection conn2 = DriverManager.getConnection("jdbc:bottomline:mysql://localhost:3306/myDB?"
                                  + "
          &jar=D:\\database-drivers\\mysql-connector-java-5.0.3\\mysql-connector-java-5.0.3-bin.jar
          "
                                  +
          "&class=com.mysql.jdbc.Driver", "root", "root");

          編者:我覺(jué)得這個(gè)項(xiàng)目實(shí)在有點(diǎn)脫褲子放屁!

          瀏覽 21
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  国产成人摸屄操屄熟 | 骚逼免费观看 | 男女拍拍视频网站 | 在线香蕉| 亚洲大香 |