久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <bdo id='cP6al'></bdo><ul id='cP6al'></ul>
    <i id='cP6al'><tr id='cP6al'><dt id='cP6al'><q id='cP6al'><span id='cP6al'><b id='cP6al'><form id='cP6al'><ins id='cP6al'></ins><ul id='cP6al'></ul><sub id='cP6al'></sub></form><legend id='cP6al'></legend><bdo id='cP6al'><pre id='cP6al'><center id='cP6al'></center></pre></bdo></b><th id='cP6al'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='cP6al'><tfoot id='cP6al'></tfoot><dl id='cP6al'><fieldset id='cP6al'></fieldset></dl></div>
  • <tfoot id='cP6al'></tfoot>
      <legend id='cP6al'><style id='cP6al'><dir id='cP6al'><q id='cP6al'></q></dir></style></legend>

        <small id='cP6al'></small><noframes id='cP6al'>

        如何使用 Java 創(chuàng)建多個模式連接?

        How to create multiple schema connections using Java?(如何使用 Java 創(chuàng)建多個模式連接?)

          <tfoot id='4w734'></tfoot>
            <tbody id='4w734'></tbody>
              • <bdo id='4w734'></bdo><ul id='4w734'></ul>

                  <legend id='4w734'><style id='4w734'><dir id='4w734'><q id='4w734'></q></dir></style></legend>
                  <i id='4w734'><tr id='4w734'><dt id='4w734'><q id='4w734'><span id='4w734'><b id='4w734'><form id='4w734'><ins id='4w734'></ins><ul id='4w734'></ul><sub id='4w734'></sub></form><legend id='4w734'></legend><bdo id='4w734'><pre id='4w734'><center id='4w734'></center></pre></bdo></b><th id='4w734'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='4w734'><tfoot id='4w734'></tfoot><dl id='4w734'><fieldset id='4w734'></fieldset></dl></div>

                • <small id='4w734'></small><noframes id='4w734'>

                  本文介紹了如何使用 Java 創(chuàng)建多個模式連接?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我必須使用兩個數(shù)據(jù)庫:

                  I have to work with two database:

                  1. DB2
                  2. 甲骨文

                  我在 DB2 數(shù)據(jù)庫中有一個名為 NAVID 的模式.我想使用 Java 為 Oracle 中的所有表創(chuàng)建相同的架構(gòu).

                  I have a schema in DB2 database named NAVID. I want to create the same schema with all tables in Oracle using Java.

                  public class automateExport {
                  static String value;
                  
                  public static void main(String[] args) throws SQLException, ClassNotFoundException {
                      ResultSet rs = null;
                      Connection DB2 = getConnection();
                      String sqlstm = "SELECT * FROM SYSCAT.COLUMNS WHERE TABSCHEMA NOT LIKE 'SYS%'";
                      PreparedStatement mainStmt = DB2.prepareStatement(sqlstm);
                      ResultSet query = mainStmt.executeQuery();        
                  }
                  
                  private static Connection  getConnection() throws ClassNotFoundException, SQLException{
                      Class.forName("com.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver");
                      Connection  connection =
                          DriverManager.getConnection("jdbc:db2://localhost:50000/navid","navid","oracle");
                      return connection;
                   }
                  

                  我不知道如何選擇所有有列的表并在 db2 中創(chuàng)建相同的表.

                  I dont know how to select all tables with columns and create the same tables in db2.

                  推薦答案

                  為了做這樣的事情,我邀請你做多種方法;第一種方法必須選擇一個表并獲取這些值并將它們復(fù)制到一個向量中,第二種方法需要一個參數(shù);向量并獲取這些值并將它們插入到第二個數(shù)據(jù)庫oracle"中.如果您想了解任何其他信息,請通過我的 gmail 帳戶 zahranemehdi@gmail.com 與我聯(lián)系.

                  To make such thing i invite you to make multiple methods; the first method must select a table and get those values and copy them into a vector, and the second method take an argument; the vector and take those values and insert them in the second database 'oracle'. If you would like any other informations contact me in my gmail account zahranemehdi@gmail.com.

                  這篇關(guān)于如何使用 Java 創(chuàng)建多個模式連接?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數(shù)溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關(guān)系嗎?)
                  How to convert Integer to int?(如何將整數(shù)轉(zhuǎn)換為整數(shù)?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內(nèi)創(chuàng)建一個隨機(jī)打亂數(shù)字的 int 數(shù)組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠?qū)?0xff000000 存儲為 int?)

                    <tfoot id='eJscu'></tfoot>
                      • <i id='eJscu'><tr id='eJscu'><dt id='eJscu'><q id='eJscu'><span id='eJscu'><b id='eJscu'><form id='eJscu'><ins id='eJscu'></ins><ul id='eJscu'></ul><sub id='eJscu'></sub></form><legend id='eJscu'></legend><bdo id='eJscu'><pre id='eJscu'><center id='eJscu'></center></pre></bdo></b><th id='eJscu'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='eJscu'><tfoot id='eJscu'></tfoot><dl id='eJscu'><fieldset id='eJscu'></fieldset></dl></div>
                          <tbody id='eJscu'></tbody>
                          <bdo id='eJscu'></bdo><ul id='eJscu'></ul>

                          <small id='eJscu'></small><noframes id='eJscu'>

                          <legend id='eJscu'><style id='eJscu'><dir id='eJscu'><q id='eJscu'></q></dir></style></legend>

                            主站蜘蛛池模板: 精品99在线 | 99免费在线观看视频 | 亚洲成人a v | 日韩av免费在线观看 | 成年人黄色一级毛片 | 欧美日韩视频在线 | 亚洲国产一区二区三区 | 国产欧美一区二区三区在线播放 | 99精品欧美一区二区蜜桃免费 | gav成人免费播放视频 | 欧美激情a∨在线视频播放 成人免费共享视频 | 欧美视频中文字幕 | 国产一区二区高清在线 | 91在线| 毛片一区二区三区 | av黄在线观看 | 91精品综合久久久久久五月天 | 亚洲综合电影 | 亚洲一区高清 | 免费成人av | 免费一级欧美在线观看视频 | 国产成人精品视频在线观看 | 精品美女视频在免费观看 | 99综合| 狠狠做六月爱婷婷综合aⅴ 国产精品视频网 | 亚洲成人一二区 | 天天综合网91 | 日韩精品在线看 | 欧美日本在线 | 精品久久久网站 | 成人深夜福利 | 91亚洲精品国偷拍自产在线观看 | 久久久婷婷 | 91精品国产99久久 | 亚洲精品18| 成人午夜精品 | 亚洲国产aⅴ成人精品无吗 欧美激情欧美激情在线五月 | 精品久久久网站 | 一区欧美| 一区二区精品 | 成人欧美一区二区三区视频xxx |