Microsoft Word - Lab6.doc
|
|
- ゆめじ いいはた
- 5 years ago
- Views:
Transcription
1 I Oracle からのアプリケーションの移行ハンズオン (Lab6 Lab6) 日本アイアイ ビービー エムエム株式会社
2 Contents CONTENTS はじめに 内容 SELECT 文を実行実行する JAVA プログラム ソースコードの確認 ソースコードの編集 プログラムのコンパイル プログラムの実行 ストアド ファンクションファンクションを呼び出す JAVA プログラム ソースコードの確認 ソースコードの編集 プログラムのコンパイル プログラムの実行
3 1. はじめに このハンズオンでは Oracle 用に記述された Java プログラムを DB2 で稼動するように書き換えを行い 実際に稼動することを確認します 2. 内容 このハンズオンでは以下の内容を実施します SELECT 文を実行する Java プログラム ストアド ファンクションを呼び出す Java プログラム 3. SELECT 文を実行実行する Java プログラム この章では Oracle 用に書かれた SELECT 文を実行する Java プログラムを DB2 用に編集し 実行できることを確認します 3.1 ソースコードの確認 _ ソースコードの確認最初に /workshop/lab6/source ディレクトリに移動し orasampl1.java ファイルの内容を確認します db2inst1 ユーザーで以下のを実行します cd /workshop/lab6/source cat /orasampl1.java db2inst1@db2v97onsles10:~> cd /workshop/lab6/source db2inst1@db2v97onsles10:/workshop/lab6/source> cat orasampl1.java class orasampl1 { 省略 3
4 以下のようなソースコードが確認できます orasampl1.java class orasampl1 { throws Exception { Class.forName ("oracle.jdbc.driver.oracledriver"); Connection con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:ora11g","sales", "password"); Statement stmt = con.createstatement (); ResultSet rs = stmt.executequery ("select dept_code,dept_name from departments"); while (rs.next ()) System.out.println (rs.getstring (1) + " " + rs.getstring(2)); このプログラムは Oracle に接続して DEPARTMENTS 表を選択して DEPT_CODE,DEPT_NAME の一覧を出力するプログラムです 3.2 ソースコードの編集 _ ソースコードの編集 vi で orasampl1.java の以下の三箇所を DB2 で実行できるように書き直します ( 時間のない方や vi の操作に不慣れな方は /workshop/lab6/source_modified/ ディレクトリに修正済みのソースがありますのでこちらを使用してください ) 変更箇所 1. ドライバーのクラス名の変更 :7 行目更新前 :Class.forName ("oracle.jdbc.driver.oracledriver oracle.jdbc.driver.oracledriver"); 更新後 :Class.forName ("com.ibm.db2.jcc.db2driver com.ibm.db2.jcc.db2driver"); 2.URL ユーザー ID パスワードの変更:8 行目更新前 :Connection con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:ora11g jdbc:oracle:thin:@localhost:1521:ora11g","sales sales", "password password"); 更新後 :Connection con = DriverManager.getConnection ("jdbc:db2://localhost:60000/labdb jdbc:db2://localhost:60000/labdb","db2inst1 db2inst1","db2inst1 db2inst1"); 3. スキーマ名の指定 :10 行目更新前 :ResultSet rs = stmt.executequery ("select dept_code,dept_name from departments"); 更新後 :ResultSet rs = stmt.executequery ("select dept_code,dept_name from sales.departments"); 4
5 以下は修正例です ( 修正例では 変更前のものをコメントで残していますが直接書き換えて頂いても構いません ) orasampl1.java 修正例 class orasampl1 { throws Exception { // Class.forName ("oracle.jdbc.driver.oracledriver"); Class.forName ("com.ibm.db2.jcc.db2driver"); // Connection con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:ora11g","sales", "password"); Connection con = DriverManager.getConnection ("jdbc:db2://localhost:60000/labdb","db2inst1","db2inst1"); Statement stmt = con.createstatement (); // ResultSet rs = stmt.executequery ("select dept_code,dept_name from departments"); ResultSet rs = stmt.executequery ("select dept_code,dept_name from sales.departments"); while (rs.next ()) System.out.println (rs.getstring (1) + " " + rs.getstring(2)); 3.3 プログラムのコンパイル _ プログラムのコンパイル書き換えたプログラムをコンパイルします 変更したソースコードがあるディレクトリで以下のを実行します javac orasampl1.java ls -ltr db2inst1@db2v97onsles10:/workshop/lab6/source> javac orasampl1.java db2inst1@db2v97onsles10:/workshop/lab6/source> ls -ltr 合計 12 -rw-r--r-- 1 db2inst1 db2user :32 orasampl2.java -rw-r--r-- 1 db2inst1 db2user :53 orasampl1.java -rw-r--r-- 1 db2inst1 db2user :31 orasampl1.class コンパイル後 orasampl1.class ファイルが作成されていることが確認できます 5
6 3.4 プログラムの実行 _ プログラムの実行 orasampl1.class ファイルがあるディレクトリで以下のを実行し プログラムを実行します java orasampl1 db2inst1@db2v97onsles10:/workshop/lab6/source> java orasampl1 A00 ADMINISTRATION SYSTEMS B01 INFORMATION CENTER C01 MANUFACTURING SYSTEMS D11 OPERATIONS D21 PLANNING E01 SOFTWARE SUPPORT E11 SPIFFY COMPUTER SERVICE DIV. E21 SUPPORT SERVICES DEPARTMENTS 表の 8 行のデータが出力されれば 正しく実行できています 6
7 4. ストアド ファンクションファンクションを呼び出す Java プログラム この章では アウト パラメーターを持つストアド ファンクションを呼び出す Java プログラムを DB2 用に書き換えます アウト パラメーターを持つストアド ファンクションは DB2 9.7 ではサポートされていなため Lab5 でストアド プロシージャーに書き換えたものを Call するように書き換えます 4.1 ソースコードの確認 _ ソースコードの確認 /workshop/lab6/source ディレクトリに移動し orasampl2.java ファイルの内容を確認します db2inst1 ユーザーで以下のを実行します cd /workshop/lab6/source cat /orasampl2.java db2inst1@db2v97onsles10:~> cd /workshop/lab6/source db2inst1@db2v97onsles10:/workshop/lab6/source> cat orasampl2.java class orasampl2 { 省略 以下のようなソースコードが確認できます orasampl2.java class orasampl2 { throws Exception { Class.forName ("oracle.jdbc.driver.oracledriver"); Connection con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:ora11g","sales", "password"); String SpCall = "{? = call count_projects(1,?)"; CallableStatement stmt = con.preparecall(spcall); stmt.registeroutparameter(1, Types.INTEGER); stmt.registeroutparameter(2, Types.INTEGER); stmt.execute(); System.out.println("Account ID:"+ stmt.getstring(2)); System.out.println("Projects :"+ stmt.getstring(1)); 7
8 このプログラムは Oracle に接続し アウト パラメーターを持つストアド ファンクション COUNT_PROJECTS を呼び出し ストアド ファンクションから返された値を出力するプログラムです 4.2 ソースコードの編集 _ ストアド プロシージャーの確認ソースコードの編集を行う前に LABDB 上にアウト パラメーターを持つストアド ファンクションの代わりに呼び出すストアド プロシージャーが存在していることを確認します 以下のを実行し COUNT_PROJECTS ストアド プロシージャーの DDL を確認します db2look -d labdb -e grep -A 50 \"COUNT_PROJECTS\" db2inst1@db2v97onsles10:~> db2look -d labdb -e grep -A 50 \"COUNT_PROJECTS\" -- ユーザー ID が指定されていません db2look は環境変数 USER の使用を試行します -- USER は以下のとおりです : DB2INST1 -- 表の DDL の作成 CREATE PROCEDURE "COUNT_PROJECTS" (p_empid IN employees.emp_id%type, o_acct_id OUT employees.acct_id%type, out_return OUT NUMBER) AS -- /* DESCRIPTION: Function that counts the project based on the employeed id and also -- returns information on total projects of the account to which employee id belongs -- 省略 DB2 9.7 では アウト パラメーターをもつストアド ファンクションをサポートしていないため ストアド ファンクションの戻り値として受け取る値を ストアド プロシージャーのアウト パラメーター (out_return) として受け取るように変更しています 8
9 _ ソースコードの編集 vi で orasampl2.java の以下の 5 箇所を DB2 用に書き直します ( 時間のない方や vi の操作に不慣れな方は /workshop/lab6/source_modified/ ディレクトリに修正済みのソースがありますのでこちらを使用してください ) 変更箇所 1. ドライバーのクラス名の変更 :7 行目更新前 :Class.forName ("oracle.jdbc.driver.oracledriver oracle.jdbc.driver.oracledriver"); 更新後 :Class.forName ("com.ibm.db2.jcc.db2driver com.ibm.db2.jcc.db2driver"); 2.URL ユーザー ID パスワードの変更:8 行目更新前 :Connection con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:ora jdbc:oracle:thin:@localhost:1521:ora11g 11g","sales sales", "password password"); 更新後 :Connection con = DriverManager.getConnection ("jdbc:db2://localhost:60000/labdb jdbc:db2://localhost:60000/labdb","db2inst1 db2inst1","db2inst1 db2inst1"); 3. スキーマ名の指定と戻り値をアウト パラメータに変更 :9 行目更新前 :String SpCall = "{?? = call count_projects(1,?)"; 更新後 :String SpCall = "{call sales.count_projects(1,?,?).count_projects(1,?,?)"; 4. 取得するパラメーターを変更 :14 行目更新前 :System.out.println("Account ID:"+ stmt.getstring(2)); 更新後 :System.out.println("Account ID:"+ stmt.getstring(1)); 5. 取得するパラメーターを変更 :15 行目更新前 :System.out.println("Projects :"+ stmt.getstring(1)); 更新後 :System.out.println("Projects :"+ stmt.getstring(2)); 以下は修正例です ( 修正例では 変更前のものをコメントで残していますが直接書き換えて頂いても構いません ) orasampl2.java 修正例 class orasampl2 { throws Exception { // Class.forName ("oracle.jdbc.driver.oracledriver"); Class.forName ("com.ibm.db2.jcc.db2driver"); // Connection con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:ora11g","sales", "password"); Connection con = DriverManager.getConnection ("jdbc:db2://localhost:60000/labdb","db2inst1", b2://localhost:60000/labdb","db2inst1", "db2inst1"); // String SpCall = "{? = call count_projects(1,?)"; String SpCall = "{call sales.count_projects(1,?,?)"; CallableStatement stmt = con.preparecall(spcall); stmt.registeroutparameter(1, Types.INTEGER); stmt.registeroutparameter(2, Types.INTEGER); stmt.execute(); // System.out.println("Account ID:"+ stmt.getstring(2)); System.out.println("Account ID:"+ stmt.getstring(1)); // System.out.println("Projects :"+ stmt.getstring(1)); System.out.println("Projects :"+ stmt.getstring(2)); 9
10 4.3 プログラムのコンパイル _ プログラムのコンパイル書き換えたプログラムをコンパイルします 変更したソースコードがあるディレクトリで以下のを実行します javac orasampl2.java ls -ltr db2inst1@db2v97onsles10:/workshop/lab6/source> javac orasampl2.java db2inst1@db2v97onsles10:/workshop/lab6/source> ls -ltr 合計 16 -rw-r--r-- 1 db2inst1 db2user :53 orasampl1.java -rw-r--r-- 1 db2inst1 db2user :31 orasampl1.class -rw-r--r-- 1 db2inst1 db2user :37 orasampl2.java -rw-r--r-- 1 db2inst1 db2user :37 orasampl2.class コンパイル後 orasampl2.class ファイルが作成されていることが確認できます 4.4 プログラムの実行 _ プログラムの実行 orasampl2.class ファイルがあるディレクトリで以下のを実行し プログラムを実行します java orasampl2 db2inst1@db2v97onsles10:/workshop/lab6/source> java orasampl2 Account ID:1 Projects :2 Account ID:1 と Projects:2 が出力されれば 正しく実行できています 以上でアプリケーションの移行ハンズオンは終了です お疲れ様でした 10
11 Copyright IBM Corporation 2009 All Rights Reserved. 11
(Microsoft Word - Lab5-PLSQL\203I\203u\203W\203F\203N\203g\202\314\210\332\215s.doc)
[Lab 5] PLSQL オブジェクトの移行 2009 年 12 月日本アイアイ ビービー エムエム株式会社 Contents CONTENTS...2 1. はじめに...3 1.1 ハンズオンで使用する DDL について...3 2. 独立したしたタイプタイプの宣言...4 2.1 スタンドアロン タイプの移行...4 2.2 パッケージ Envelope の作成...6 2.3 タイプを参照する箇所の修正...6
More informationCopyright 2006 KDDI Corporation. All Rights Reserved page1
Copyright 2006 KDDI Corporation. All Rights Reserved page1 Copyright 2006 KDDI Corporation. All Rights Reserved page2 Copyright 2006 KDDI Corporation. All Rights Reserved page3 Copyright 2006 KDDI Corporation.
More informationMicrosoft Word - Lab5d-DB2組み込みSQL.doc
[Lab 5d] DB2 でのアプリケーション開発 ( 組み込み SQL) 2011 年 06 月日本アイ ビー エム株式会社 Contents CONTENTS...2 1. はじめに...3 2. 内容...3 3. DB2 組み込み SQL への移行...3 3.1 準備...4 3.2 エラー処理用プログラムに関する処理...5 3.3 メインプログラムに関する処理...7 3.4 実行プログラムの生成...11
More informationハピタス のコピー.pages
Copyright (C) All Rights Reserved. 10 12,500 () ( ) ()() 1 : 2 : 3 : 2 4 : 5 : Copyright (C) All Rights Reserved. Copyright (C) All Rights Reserved. Copyright (C) All Rights Reserved. Copyright (C) All
More informationCopyright 2008 All Rights Reserved 2
Copyright 2008 All Rights Reserved 1 Copyright 2008 All Rights Reserved 2 Copyright 2008 All Rights Reserved 3 Copyright 2008 All Rights Reserved 4 Copyright 2008 All Rights Reserved 5 Copyright 2008 All
More informationMicrosoft PowerPoint - 第5章補足-DB2組み込みSQL.ppt
開発編第 5 章補足 DB2 組み込み SQL 本書に含まれている情報は 正式な IBM のテストを受けていません また 明記にしろ 暗黙的にしろ なんらの保証もなしに配布されるものです この情報の使用またはこれらの技術の実施は いずれも 使用先の責任において行われるべきものであり それらを評価し 実際に使用する環境に統合する使用先の判断に依存しています それぞれの項目は
More informationJavaセキュアコーディングセミナー東京 第3回 入出力(File, Stream)と例外時の動作 演習解説
Java セキュアコーディングセミナー東京第 3 回入出力と例外時の動作 演習解説 2012 年 11 月 11 日 ( 日 ) JPCERT コーディネーションセンター脆弱性解析チーム戸田洋三 1 Hands-on Exercises コンパイルエラーに対処しよう ファイルからのデータ入力を実装しよう 2 Hands-on Exercise(1) サンプルコードの コンパイルエラーに対処しよう 3
More informationhow-to-decide-a-title
Contents 3 4 5 6 8 13 13 14 14 15 15 18 19 Copyright 2014 All Rights Reserved. 2 / 21 URL AdobeReader ( ) http://www.adobe.co.jp/products/acrobat/readstep2.html Copyright 2014 All Rights Reserved. 3 /
More informationCopyright 2010 Sumitomo Mitsui Banking Corporation. All Rights Reserved.
1 2 3 4 5 3 1 2 5 4 2Copyright 2010 Sumitomo Mitsui Banking Corporation. All Rights Reserved. Copyright 2010 Sumitomo Mitsui Banking Corporation. All Rights Reserved.3 Contents 4Copyright 2010 Sumitomo
More informationPowerPoint Presentation
上級プログラミング 2( 第 5 回 ) 工学部情報工学科 木村昌臣 今日のテーマ データベース入門 データベースシステムの用意の仕方 データベースを作ってみる データベースを使ってみる データベースプログラミング JDBCを使った検索プログラム JDBCを使った更新プログラム データベース入門 今回の説明は Windows 環境を前提としているため Linux など他のプラットフォーム上で作業を行う場合は
More informationMySQL5.0データベース ログファイルおよびステータスの収集
HP OpenSource MySQL 5.0 ver. 1.0 1 MySQL Server 5.0 MySQL Server 5.0 MySQL Server MySQL Server MySQL Server MySQL Character Set MySQL Character Set 1 MySQL Server MySQL Server 5.0 2 MySQL Server 5.0 MySQL
More informationCopyright 2008 NIFTY Corporation All rights reserved. 2
Copyright 2008 NIFTY Corporation All rights reserved. 2 Copyright 2008 NIFTY Corporation All rights reserved. 3 Copyright 2008 NIFTY Corporation All rights reserved. 4 Copyright 2008 NIFTY Corporation
More information初心者にもできるアメブロカスタマイズ新2016.pages
Copyright All Rights Reserved. 41 Copyright All Rights Reserved. 60 68 70 6 78 80 Copyright All Rights Reserved. FC2 97 Copyright All Rights Reserved. Copyright All Rights Reserved. Copyright All Rights
More information- 2 Copyright (C) 2006. All Rights Reserved.
- 2 Copyright (C) 2006. All Rights Reserved. 2-3 Copyright (C) 2006. All Rights Reserved. 70-4 Copyright (C) 2006. All Rights Reserved. ...1...3...7...8 1...9...14...16 2...18...20...21 3...22...23...23...24
More informationIP IP All contents are Copyright (c) All rights reserved. Important Notices and Privacy Statement. page 2 of 39
02 08 14 21 27 34 All contents are Copyright (c) 1992-2004 All rights reserved. Important Notices and Privacy Statement. page 1 of 39 IP IP All contents are Copyright (c) 1992-2004 All rights reserved.
More informationCopyright All Rights Reserved. -2 -!
http://ameblo.jp/admarketing/ Copyright All Rights Reserved. -2 -! Copyright All Rights Reserved. -3- Copyright All Rights Reserved. -4- Copyright All Rights Reserved. -5 - Copyright All Rights Reserved.
More informationMicrosoft PowerPoint - Tutorial_2_upd.ppt
2 Eclipse を使った Bluemix アプリケーション開発 1 ハンズオン手順 ハンズオンの概要 Eclipse から Java アプリをデプロイする 公開されているプロジェクトをインポートする インポートしたプロジェクトをBluemixにデプロイする ここでは PostgreSQL サービスを提供する ElephantSQL というサービスを使用します デプロイしたアプリケーションを確認する
More information1 ex01.sql ex01.sql ; user_id from (select user_id ;) user_id * select select (3+4)*7, SIN(PI()/2) ; (1) select < > from < > ; :, * user_id user_name
SQL mysql mysql ( mush, potato) % mysql -u mush -p mydb Enter password:****** mysql>show tables; usertable mysql> ( ) SQL (Query) : select < > from < > where < >; : create, drop, insert, delete,... ; (
More informationIPA:セキュアなインターネットサーバー構築に関する調査
Copyright 2003 IPA, All Rights Reserved. Copyright 2003 IPA, All Rights Reserved. Copyright 2003 IPA, All Rights Reserved. Copyright 2003 IPA, All Rights Reserved. Copyright 2003 IPA, All Rights Reserved.
More informationMicrosoft Word - 最終版 バックせどりismマニュアル .docx
ism ISM ISM ISM ISM ISM ISM Copyright (c) 2010 All Rights Reserved. Copyright (c) 2010 All Rights Reserved. Copyright (c) 2010 All Rights Reserved. ISM Copyright (c) 2010 All Rights Reserved. Copyright
More information! Copyright 2015 sapoyubi service All Rights Reserved. 2
! Copyright 2015 sapoyubi service All Rights Reserved. 2 ! Copyright 2015 sapoyubi service All Rights Reserved. 3 Copyright 2015 sapoyubi service All Rights Reserved. 4 ! Copyright 2015 sapoyubi service
More informationJDBCアクセス
JDBC 2006/09/01 Page 1 1 2 2.1 NXJ 2.2 2.3 2.4 3 3.1 3.2 3.3 3.4 Make 4 4.1 forms.statement.oracle 4.1.1 NXJJDBCSelect1 4.1.2 JDBCSelect2 4.1.3 JDBCUpdatet 4.1.4 JDBCInsert 4.1.5 JDBCDelete 4.2 forms.prepared.oracle
More informationMicrosoft Word - ACCESSINGO...
Java から Oracle へのアクセス Salman Khan はじめに Java プログラムを記述してデータベースにアクセスしたいとします 何を使えばよいでしょうか JDBC または SQLJ でしょうか 両方とも API ( またはドライバ またはパッケージ... どのようにでも呼ぶことができます ) で データベースにアクセスできます なぜ 1 つではなく 2 つの API があるのでしょうか
More informationKDDI
Copyright 2007 KDDI Corporation. All Rights Reserved page.1 Copyright 2007 KDDI Corporation. All Rights Reserved page.2 Copyright 2007 KDDI Corporation. All Rights Reserved page.3 Copyright 2007 KDDI Corporation.
More informationGEC-Java
Copyright (C) Junko Shirogane, Waseda University 2019, All rights reserved. 1 プログラミング初級 (Java) 第 14 回継承 白銀純子 第 14 回の内容 継承 オーバーライド ポリモーフィズム Copyright (C) Junko Shirogane, Waseda University 2019, All rights
More informationintra-mart Accel Platform
セットアップガイド (WebSphere 編 ) 第 4 版 2014-01-01 1 目次 intra-mart Accel Platform 改訂情報 はじめに 本書の目的 前提条件 対象読者 各種インストール 設定変更 intra-mart Accel Platform 構成ファイルの作成 WebSphereの設定 Java VM 引数の設定 トランザクション タイムアウトの設定 データベース接続の設定
More informationdekiru_asa
11 10 4 4 1 2 3 4 2 4 6 10 12 16 20 2 1 3 1 4 2 5 2 6 3 3 7 8 9 3 3 10 4 1 11 4 2 3 4 5 1 2 3 12 4 5 5 13 14 6 7 8 9 10 11 5 15 6 1 2 3 16 17 1 2 3 6 18 1 2 3 19 6 6 1 2 v 3 20 7 1 2 3 1 7 21 22 2 3 4
More informationCaché SQL に関するよくある質問
Caché SQL に関するよく ある質問 Version 5.1 2006-03-14 InterSystems Corporation 1 Memorial Drive Cambridge MA 02142 www.intersystems.com Caché SQL に関するよくある質問 Caché Version 5.1 2006-03-14 Copyright 2006 InterSystems
More informationuntitled
mitsuya Copyright (C) 2007. All Rights Reserved. 1/1 mitsuya Copyright (C) 2007. All Rights Reserved. 2/2 mitsuya Copyright (C) 2007. All Rights Reserved. 3/3 mitsuya Copyright (C) 2007. All Rights Reserved.
More information- 2 Copyright (C) 2009. All Rights Reserved.
- 2 Copyright (C) 2009. All Rights Reserved. - 3 Copyright (C) 2009. All Rights Reserved. - 4 Copyright (C) 2009. All Rights Reserved. - 5 Copyright (C) 2009. All Rights Reserved. - 6 Copyright (C) 2009.
More informationOracle9i JDeveloperによるWebサービスの構築
Oracle9i JDeveloper Web Web Web Web Web Web EJB Web EJB Web Web Oracle9iAS Apache SOAP WSDL Web Web Web Oracle9i JDeveloper Java XML Web Web Web Web Simple Object Access Protocol SOAP :Web Web Services
More information// JDBC // CallableStatement cs = null; try { cs = conn.preparecall("{call DUMMY_PROC(?,?)}"); cs.setstring(1, "This is a test"); cs.registeroutparame
// JDBC // CallableStatement cs = null; try { cs = conn.preparecall("{call DUMMY_PROC(?,?)"); cs.setstring(1, "This is a test"); cs.registeroutparameter(2, Types.VARCHAR); cs.executequery(); // String
More informationJavaアプリケーション開発ガイド入門編
Javaアプリケーション開発ガイド入門編 第 2 版 2011 年 9 月 富士通株式会社 まえがき 本書の目的本書は JavaアプリケーションからSymfoware Serverを利用する方法について 説明しています 以下の内容が理解できることを目標としています JDBCを用いてJavaアプリケーションからSymfoware Serverに接続する方法 (DriverManagerを用いてSymfoware
More informationCOBOL Standard Edition COBOL SQL アクセスのご紹介 2017 年 3 本電気株式会社 次 COBOL SQLアクセスとは P.4 COBOL85 SQLEXTENSIONからの移 P.10 製品情報 P.13 COBOL SQL アクセスとは 製品概要 COBOL ソース中の埋め込み SQL によるデータベースアクセスが可能に 業界標準 ODBC(Open DataBase
More informationOracle Application Expressの機能の最大活用-インタラクティブ・レポート
Oracle Application Express 4.0 を使用した データベース アプリケーションへのセキュリティの追加 Copyright(c) 2011, Oracle. All rights reserved. Copyright(c) 2011, Oracle. All rights reserved. 2 / 30 Oracle Application Express 4.0 を使用した
More informationURL AdobeReader http://www.adobe.co.jp/products/acrobat/readstep2.html - 2 Copyright (C) 2008. All Rights Reserved.
URL AdobeReader http://www.adobe.co.jp/products/acrobat/readstep2.html - 2 Copyright (C) 2008. All Rights Reserved. - 3 Copyright (C) 2008. All Rights Reserved. ASP() ASP PayPal - 4 Copyright (C) 2008.
More informationExam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac
Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN
More information健康保険組合のあゆみ_top
(1912) (1951) 2,00024,000 (1954) (1958) (1962) (1965) (1968) (1969) (1971) (1972) (1973) (1974) (1976) (1978) (1980) (1982) (1983) (1984) (1985) (1987) (1988) (1989) (1990) (1991) (1992) (1994) (1995)
More informationBrekeke PBX - Version 2.1 ARSプラグイン開発ガイド
Brekeke PBX Version 2.1 ARS プラグイン開発ガイド Brekeke Software, Inc. バージョン Brekeke PBX v2.1 ARS プラグイン開発ガイド, 2008 年 2 月 著作権本書の著作権は Brekeke Software, Inc. にあります Copyright 2003-2008 Brekeke Software, Inc. 本書の一部または全部を
More information20 180pixel 180pixel Copyright 2014 Yahoo Japan Corporation. All Rights Reserved.
12 300pixel 300pixel www.yahoo.co.jp Copyright 2014 Yahoo Japan Corporation. All Rights Reserved. 20 180pixel 180pixel Copyright 2014 Yahoo Japan Corporation. All Rights Reserved. 300pixel 300pixel www.yahoo.co.jp
More information0315_F1_8iJDBC-SQLJ.PDF
Page 1 1 Page 2 2 JDBC JDBC JDBC JDBC JDBC SQLJ SQLJ SQLJ SQLJ SQLJ Page 3 3 JDBC Java JDBC RDBMS JDBC ODBC JDBC SQL JDBC SQL Java API Java JDBC Java API RDBMS Java Java JDBC JDBC ODBC Javasoft SQL99 JDBC
More informationシステム管理者ガイド GIGAPOD 3 システム管理者ガイド - 負荷分散構成 第 1.01 版 2013 年 3 月 改訂履歴 No バージョン 日付 作成者 改訂者 補足 /09 トライポッドワークス 初稿 /03 トライポッドワークス cr
GIGAPOD 3 - 負荷分散構成 第 1.01 版 2013 年 3 月 改訂履歴 No バージョン 日付 作成者 改訂者 補足 001 1.00 2012/09 トライポッドワークス 初稿 002 1.01 2013/03 トライポッドワークス cron 設定内容の追記 ( 対象バージョン :3.00.03) Copyright (c) Tripodworks Co.,LTD. All Rights
More informationSQLインジェクション対策再考
安全な SQL の呼び出し方 HASH コンサルティング株式会社徳丸浩 Twitter id: @ockeghem 1 アジェンダ 1. リテラルと SQL インジェクション 2.SQL の呼び出し方 3. データベースと連動した SQL 文生成 4.DBMS 製品の実態調査 付録 A. 技術情報 Copyright 2012 HASH Consulting Corp. 2 1. リテラルと SQL
More information[ ][ ] HTML [ ] HTML HTML
COPYRIGHT 2009 MAGREX, ALL RIGHTS RESERVED. [ ][ ] HTML [ ] HTML HTML [ ][ ] / / / [ ][ ] HTML HTML URL URL [ ][ ] Cellpadding Cellspacing ID ID URL [ ][ ] ID ID URL [ ][ ] ID ID URL [ ][ ] [ ][ ] [ ]
More informationデータベースアクセス
データベースアクセスコンポーネント 1. 概要 データベースアクセスコンポーネントとは SQL データベースにアクセスして SQL 文を実行することによりデータベース検索を行う機能を提供するコンポーネントです また データベースアクセスコンポーネントでは データベースの構成情報 接続情報 エラー情報等を取得することも可能です データベースアクセスコンポーネントは アプリケーションビルダーのメニューから以下のように選びます
More information— intra-mart Accel Platform セットアップガイド (WebSphere編) 第7版
Copyright 2013 NTT DATA INTRAMART CORPORATION 1 Top 目次 intra-mart Accel Platform セットアップガイド (WebSphere 編 ) 第 7 版 2016-12-01 改訂情報はじめに本書の目的前提条件対象読者各種インストール 設定変更 intra-mart Accel Platform 構成ファイルの作成 WebSphereの設定
More informationPowerPoint プレゼンテーション
1 2 3 4 HTML 5 HTML 6 7 8 9 ( ) 10 11 ( ) Switch(state) case STATE_xxxx : int op_state = opponent.getstate(); switch (op_state) { case STATE_yyyy : < > player.setstate(state_zzzz); 12 13 14 15 16 17 request
More information2007 Indie s Movie Project. All Rights Reserved. 02
2007 Indie s Movie Project. All Rights Reserved. 01 2007 Indie s Movie Project. All Rights Reserved. 02 2007 Indie s Movie Project. All Rights Reserved. 03 2007 Indie s Movie Project. All Rights Reserved.
More informationQ&A集
& ver.2 EWEB-3C-N080 PreSerV for Web MapDataManager & i 1... 1 1.1... 1 1.2... 2 1.3... 6 1.4 MDM. 7 1.5 ( )... 9 1.6 ( )...12 1.7...14 1.8...15 1.9...16 1.10...17 1.11...18 1.12 19 1.13...20 1.14...21
More informationMicrosoft Word - FWTEC0003.doc
IBM FormWave for WebSphere 公開技術文書 #FWTEC0003 Windows の更新プログラム (KB912945) におけ る FormWave への影響とその回避方法 最終更新日 :2006/04/03 Copyright International Business Machines Corporation 2006. All rights reserved. FormWave
More information開発・運用時のガイド JDK8への移行に伴う留意点 [UNIX]
開発 運用時のガイド [UNIX] JDK8 への移行に伴う留意点 2015.10 O c t o b e r はじめに 本書は 開発 運用フェーズで使用するドキュメントとして Java TM Development Kit 8 への移行に伴う 留意点について記述しています 1. 対象とする読者本書は Java TM Development Kit 8 を使用し システムを設計 構築 運用する立場にある方を対象としています
More information①
Copyright 2005 Impex.,inc. All Rights Reserved 1 Copyright 2005 Impex.,inc. All Rights Reserved 2 Copyright 2005 Impex.,inc. All Rights Reserved 3 Copyright 2005 Impex.,inc. All Rights Reserved 4 Copyright
More informationプログラミング基礎I(再)
山元進 クラスとは クラスの宣言 オブジェクトの作成 クラスのメンバー フィールド 変数 配列 メソッド メソッドとは メソッドの引数 戻り値 変数の型を拡張したもの 例えば車のデータベース 車のメーカー 車種 登録番号などのデータ データベースの操作 ( 新規データのボタンなど ) プログラムで使う部品の仕様書 そのクラスのオブジェクトを作ると初めて部品になる 継承 などの仕組みにより カスタマイズが安全
More information機能紹介 : Java ゲートウェイとインターシステムズ製品
機能紹介 : Java ゲートウェイ とインターシステムズ製品 Version 2019.1 2019-05-31 InterSystems Corporation 1 Memorial Drive Cambridge MA 02142 www.intersystems.com 機能紹介 : Java ゲートウェイとインターシステムズ製品 InterSystems IRIS Data Platform
More informationサンプル Java プログラム
APPENDIX A 概要 この付録には Java Database Connectivity(JDBC) を使用して SQL データベースに接続し SQL 文を作成および実行してから 結果を取得する Java プログラムを作成するために必要なファイルが含まれています 表 A-1 に サンプルファイルを示します 表 A-1 内のファイル ファイル例 A-1 JTest.java 例 A-2 ConnectionPoolManager.java
More informationOracle Application Expressの機能の最大活用-インタラクティブ・レポート
Building a Websheet Application in Application Express 4.0 Web シート アプリケーションの作成 Copyright(c) 2010, Oracle. All rights reserved. Copyright(c) 2010, Oracle. All rights reserved. 2 / 63 Building a Websheet
More informationJava 入門 6 Java 入門 6 - データベースにアクセスする Version 1.0 Kyosuke Yanai Copyright(c) 2010 Kyosuke Yanai
- データベースにアクセスする - 2010-10-15 Version 1.0 Kyosuke Yanai Copyright(c) 2010 Kyosuke Yanai 目 次 1 はじめに...1 1.1 データベース...1 1.2 データベースへのアクセス...2 2 MySQL へのアクセス...3 2.1 準備...3 2.2 Connector/J のダウンロード インストール...4
More informationPLQ-20 取扱説明書 詳細編
2013 Seiko Epson Corporation. All rights reserved. o n h o n n A B o C h h n h A B n C n n A B C A B C A B C D E A B C D E h o h B n C A D E F G n A C B n A B C D C n A B D F G H E n A B D C E F n A h
More informationOpenAM 9.5 インストールガイド オープンソース ソリューション テクノロジ ( 株 ) 更新日 : 2013 年 7 月 19 日 リビジョン : 1.8
OpenAM 9.5 インストールガイド オープンソース ソリューション テクノロジ ( 株 ) 更新日 : 2013 年 7 月 19 日 リビジョン : 1.8 目次 1. はじめに 1 1.1 本文書の目的... 1 1.2 前提条件... 1 1.3 略語...1 2. 事前準備 2 2.1 ホスト名の名前解決... 2 3. Linix 版パッケージ 3 3.1 システム要件... 3 3.1.1
More information1.SqlCtl クラスリファレンス SqlCtl クラスのリファレンスを以下に示します メソッドの実行中にエラーが発生した場合は標準エラー出力にメッセージを出力します (1)Connect() メソッド データベースへ connect 要求を行います boolean Connect(String
目次 1.SqlCtl クラスリファレンス 2 (1)Connect() メソッド 2 (2)DisConnect() メソッド 3 (3)Commit() メソッド 3 (4)Rollback() メソッド 4 2.SqlStm クラスリファレンス 5 (1)Prepare() メソッド 5 (2)Execute() メソッド 6 (3)Release() メソッド 6 (4)Immediate()
More information1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27, 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Cat.No.D1J-502-07 http://www.jfe-steel.co.jp 100-0011 2 2 3TEL03(3597)3111FAX03(3597)4860
More informationIBM FormWave for WebSphere 公開技術文書 #FWTEC0012 リッチ ユーザーインターフェースのクライア ント操作画面サンプルでブランク伝票が一覧に すべて表示されない問題の対処方法 最終更新日 :2009/11/20 Copyright International Bu
IBM FormWave for WebSphere 公開技術文書 #FWTEC0012 リッチ ユーザーインターフェースのクライア ント操作画面サンプルでブランク伝票が一覧に すべて表示されない問題の対処方法 最終更新日 :2009/11/20 Copyright International Business Machines Corporation 2009. All rights reserved.
More informationストラドプロシージャの呼び出し方
Release10.5 Oracle DataServer Informix MS SQL NXJ SQL JDBC Java JDBC NXJ : NXJ JDBC / NXJ EXEC SQL [USING CONNECTION ] CALL [.][.] ([])
More informationCalpont InfiniDBマルチUM同期ガイド
Calpont InfiniDB マルチ UM 同期ガイド Release 3.5.1 Document Version 3.5.1-1 December 2012 2801 Network Blvd., Suite 220 : Frisco, Texas 75034 : 972.999.1355 info@calpont.com : www.calpont.com Copyright 2012 Calpont
More information2
DX Simulator Copyright 2001-2002 Yamaha Corporation. All rights reserved. Version 1.2, 2002 YAMAHA CORPORATION 2 z x z x c 3 z Windows Macintosh Windows Macintosh x 4 z Windows Macintosh Windows Macintosh
More informationWebシステム授業資料
Web システムプログラミング b 第 13 講目 Web システムプログラミング講義資料 到達目標 到達目標 Web システムを設計し 開発できること 最終成果物 : 学生生活で利用できる Web システム 授業計画 第 09 講 (12/03):Webシステムの基本設計 (1) 第 10 講 (12/10):Webシステムの基本設計 (2) 第 11 講 (12/17):WebシステムのDB 設計
More informationstorage-sdk-Java
オブジェクトストレージ SDK Java Version 1.0 Version 更新日内容 1.0 2014 年 4 月 18 日新規作成 1.1 2014 年 5 月 23 日 RiakCS のバージョンを 1.4.5 に修正 IDC Frontier Inc. All Rights Reserved. PAGE : 1 / 7 目次 1. 概要... 3 2. 利用できる API... 3 3.
More information1000 Copyright(C)2009 All Rights Reserved - 2 -
1000 Copyright(C)2009 All Rights Reserved - 1 - 1000 Copyright(C)2009 All Rights Reserved - 2 - 1000 Copyright(C)2009 All Rights Reserved - 3 - 1000 Copyright(C)2009 All Rights Reserved - 4 - 1000 Copyright(C)2009
More informationPowerPoint プレゼンテーション
イチからはじめる Linux サーバ構築ハンズオン 事前準備用資料 株式会社リーデックス はじめに 弊社の勉強会にご興味を持っていただきありがとうございます Linuxサーバ構築ハンズオンを受講いただくにあたり 必要なソフトのインストールと環境構築の手順をまとめました 資料はWindows 環境前提で記載してありますが Macでも少しの読み替えで対応できると思います 当日の時間内にインストールからスタートするとインターネットの回線状況によっては環境構築だけで
More informationJava言語 第1回
Java 言語 第 2 回簡単な Java プログラムの作成と実行 知的情報システム工学科 久保川淳司 kubokawa@me.it-hiroshima.ac.jp 簡単な Java プログラム Java プログラムのファイル名 Java プログラムのファイル名命名ルール ファイル名とクラス名は同じでなければならない HelloJava.java public class HelloJava { public
More informationtkk0408nari
SQLStatement Class Sql Database SQL Structured Query Language( ) ISO JIS http://www.techscore.com/tech/sql/02_02.html Database sql Perl Java SQL ( ) create table tu_data ( id integer not null, -- id aid
More informationLP-S8160 LP-S7160 LP-S6160
NPD5266-00 2015 Seiko Epson Corporation. All rights reserved. A B K L N N N N N A B C D N N N N N N N N N N N E F A B G N A B C L D K L K C K A D B D B E G H N K L K F A B C K D E K F N K L
More informationLP-M8040シリーズ
NPD4928-01 2013 Seiko Epson Corporation. All rights reserved. A B K L N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N L L N N N N B K N N L A N C D B C E E K G F H I N N
More informationLP-M5300シリーズ
NPD4639-00 2012 Seiko Epson Corporation. All rights reserved. A B K L N F G A B C D E A B C D E F G N N N N N N N N N N N N N N N N N N N N N N N N N N N L L N N B K C N N L D A N B E C E F
More informationスライド 1
サテライトオフィス シングルサインオンスタートアップガイド 株式会社サテライトオフィス 2014 年 01 月 15 日 http://www.sateraito.jp Copyright(c)2009 BayTech Systems, Inc. All rights reserved 1. サテライトオフィス シングルサインオンのインストール Google Apps 管理コンソールへログインしてください
More information(a + b)(a b) = (a + b)a (a + b)b = aa + ba ab bb = a 2 b 2 (a + b)(a b) a 2 b 2 2 (1 x)(1 + x) = 1 (1 + x) x (1 + x) = (1 + x) (x + x 2 ) =
2005 0 (a + b)(a b) = (a + b)a (a + b)b = aa + ba ab bb = a 2 b 2 (a + b)(a b) a 2 b 2 2 ( )( + ) = ( + ) ( + ) = ( + ) ( + 2 ) = + ( ) 2 = 2 (a + b)(a b) = a 2 b 2 ( )( + ) ( + ) ( + + 2 ) http://www.hyuki.com/story/genfunc.html
More informationreport03_amanai.pages
-- Monthly Special Interview 03 COPYRIGHT 2015 NBC. ALL RIGHTS RESERVED. 1 COPYRIGHT 2015 NBC. ALL RIGHTS RESERVED. 2 COPYRIGHT 2015 NBC. ALL RIGHTS RESERVED. 3 COPYRIGHT 2015 NBC. ALL RIGHTS RESERVED.
More informationreport05_sugano.pages
- - Monthly Special Interview 05 COPYRIGHT 2015 NBC. ALL RIGHTS RESERVED. 1 COPYRIGHT 2015 NBC. ALL RIGHTS RESERVED. 2 COPYRIGHT 2015 NBC. ALL RIGHTS RESERVED. 3 COPYRIGHT 2015 NBC. ALL RIGHTS RESERVED.
More information目次 はじめに インストール JDBC ドライバの配置 初期登録ユーザー バージョンアップ 評価版の制限....8 参考.JDBC ドライバの入手と設定....9 ) I2C Co.,Ltd.. All
WEB マスタメンテ 2.0 I2CWEBMasterMainte2.0 インストールマニュアル 2005 年 12 月 20 日 株式会社 I2C( アイ トゥー シー ) プロダクトチーム http://www.i2c.jp/product/ 目次 はじめに....3 1. インストール....4 2. JDBC ドライバの配置....5 3. 初期登録ユーザー....6 4. バージョンアップ....7
More informationOracle SOA Suite 11gコンポジットに対するSOASchedulerの構成
Oracle SOA Suite 11g コンポジットに対する SOAScheduler の構成 オラクル Senior Solution Architect Robert Baumgartner 2010 年 11 月 Oracle SOA Suite 11g コンポジットに対する SOAScheduler の構成 1 前提条件 https://soasamples.samplecode.oracle.com/
More informationCopyright 2009, SofTek Systems, Inc. All rights reserved.
PGI Visual Fortran Release 9.0 SofTek Copyright 2009, SofTek Systems, Inc. All rights reserved. \\\ \\ \\\ \\ \\ SofTek Systems, Inc \ SofTek Systems, Inc SofTek Systems, Inc SofTek Systems, Inc SofTek
More information