// JDBC // CallableStatement cs = null; try { cs = conn.preparecall("{call DUMMY_PROC(?,?)}"); cs.setstring(1, "This is a test"); cs.registeroutparame

Size: px
Start display at page:

Download "// JDBC // CallableStatement cs = null; try { cs = conn.preparecall("{call DUMMY_PROC(?,?)}"); cs.setstring(1, "This is a test"); cs.registeroutparame"

Transcription

1 // 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();

2 // String returnstr = cs.getstring(2); catch (SQLException ex){ name="createemp", procedurename="create_emp", parameters = mode= ParameterMode.IN, type=string.class, mode = ParameterMode.IN, type=string.class, name="last") ) // StoredProcedureQuery qry = em.createstoredprocedurequery("createemp"); qry.setparameter("first", "JOSH"); qry.setparameter("last","juneau"); qry.execute(); String qry = "select "; CreateConnection. loadproperties(); issueslist = new ArrayList(); try (Connection conn = CreateConnection. getconnection(); Statement stmt = conn. createstatement(); ResultSet rs = stmt. executequery(qry);) {

3 stmt.setfetchsize(300); while (rs.next())... catch (SQLException e) { // public List<DukeIssues> findallconfigurefetchsize( String fetchsize){ Query qry = em.createquery( "select object(o) from DukeIssues o"); qry.sethint( "eclipselink.jdbc_fetch_size", fetchsize); return qry.getresultlist(); asadmin create-jdbc-connection-pool \ --datasourceclassname \ oracle.jdbc.pool.oracledatasource \ --restype javax.sql.datasource \ --property user=dbuser:password=dbpassword:url= "jdbc:oracle\:thin\:@localhost\:1521\:mydb" \ jdbc_conn-pool asadmin create-jdbc-connection-pool \

4 --connectionpoolid myjdbc_oracle-pool jdbc/resource ConnectionPoolDataSource cpds = (ConnectionPoolDataSource) initialctx.lookup(jndiname); PooledConnection pooledconn = ConnectionPoolDataSource.getConnection(); Connection conn = pooledconn.getconnection();

5 RowSetFactory factory; try { // RowSetFactory factory = RowSetProvider.newFactory(); // CachedRowSet crs = factory.createcachedrowset(); // CachedRowSet // // crs.setusername(username); // crs.setpassword(password); // crs.seturl(jdbc_url); // crs.setcommand("select id, request_date, "+ "priority, description from duke_issues"); // int[] keys = {1; crs.setkeycolumns(keys); // crs.execute(conn); // // while (crs.next()) { // catch (SQLException ex) { ex.printstacktrace(); public List<DukeIssues> queryissues(string assignedto) { String qry = "SELECT ID, REQUEST_DATE, PRIORITY, DESCRIPTION " + "FROM DUKE_ISSUES " + "WHERE assigned_to =?"; List<DukeIssues> issuelist = new ArrayList(); try (Connection conn = CreateConnection.getConnection(); PreparedStatement stmt = conn.preparestatement(qry))

6 { stmt.setstring(1, assignedto); try (ResultSet rs = stmt.executequery();) { while (rs.next()) { int id = rs.getint("id"); java.util.date requestdate = rs.getdate("request_date"); int priority = rs.getint("priority"); String description = rs.getstring("description"); DukeIssues issue = new DukeIssues(); issue.setid(id); issue.setrequestdate(requestdate); issue.setpriority(priority); issue.setdescription(description); issuelist.add(issue); catch (SQLException e) { e.printstacktrace(); return issuelist; String insstmt1 = "insert into duke_issues (id, request_date," + "priority, description) values " + "(908472, ' ',0,'QUERY NOT WORKING')"; String insstmt2 = "insert

7 into duke_issues " + "(id, request_date, priority, description) values " + "(908473, ' ',0,'RESULTS NOT POSTING')"; String updstmt = "insert duke_issues " + "set status =? where assigned_to =?"; try (Connection conn = getconnection(); Statement stmt = conn.createstatement();) { conn.setautocommit(false); // // stmt.addbatch(insstmt1); stmt.addbatch(insstmt2); stmt.addbatch(updstmt); int[] count = stmt.executebatch(); conn.commit(); conn.setautocommit(true); catch (SQLException e) { // <persistence-unit>... <property name="eclipselink.jdbc.batch-writing" value="jdbc"/> <property name="eclipselink.jdbc.batch-writing. size" value="1000"/>... </persistence-unit>

8

tkk0408nari

tkk0408nari 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 information

Part1 159 a a

Part1 159 a a Tomcat 158 Part1 159 a a Tomcat hello World!

More information

1 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

1 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 information

052-XML04/fiÁ1-part3-’ÓŠ¹

052-XML04/fiÁ1-part3-’ÓŠ¹ & XML Data Store Part 3 Feature*1 AKIMOTO, Shougo i i i i i i inter 52 XML Magazine 04 i i i i i i i i P a r t 3 i i i i i XML Magazine 04 53 & XML Data Store Feature*1 i i inter i inter i inter inter

More information

MySQL5.0データベース ログファイルおよびステータスの収集

MySQL5.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 information

Javaアプリケーション開発ガイド入門編

Javaアプリケーション開発ガイド入門編 Javaアプリケーション開発ガイド入門編 第 2 版 2011 年 9 月 富士通株式会社 まえがき 本書の目的本書は JavaアプリケーションからSymfoware Serverを利用する方法について 説明しています 以下の内容が理解できることを目標としています JDBCを用いてJavaアプリケーションからSymfoware Serverに接続する方法 (DriverManagerを用いてSymfoware

More information

Microsoft Word - Lab6.doc

Microsoft Word - Lab6.doc I Oracle からのアプリケーションの移行ハンズオン (Lab6 Lab6) 日本アイアイ ビービー エムエム株式会社 Contents CONTENTS...2 1. はじめに...3 2. 内容...3 3. SELECT 文を実行実行する JAVA プログラム...3 3.1 ソースコードの確認...3 3.2 ソースコードの編集...4 3.3 プログラムのコンパイル...5 3.4 プログラムの実行...6

More information

PowerPoint Presentation

PowerPoint Presentation 上級プログラミング 2( 第 5 回 ) 工学部情報工学科 木村昌臣 今日のテーマ データベース入門 データベースシステムの用意の仕方 データベースを作ってみる データベースを使ってみる データベースプログラミング JDBCを使った検索プログラム JDBCを使った更新プログラム データベース入門 今回の説明は Windows 環境を前提としているため Linux など他のプラットフォーム上で作業を行う場合は

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション 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 information

TopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç..

TopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç.. lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume2 Creation Date: Mar 04, 2005 Last Update: Aug 22, 2005 Version 1.0 ...3... 3 TopLink å...4 1... 4... 4 SampleClient.java... 5 Ò... 8... 9... 10 readallsample()... 11

More information

Q&A集

Q&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 information

ストラドプロシージャの呼び出し方

ストラドプロシージャの呼び出し方 Release10.5 Oracle DataServer Informix MS SQL NXJ SQL JDBC Java JDBC NXJ : NXJ JDBC / NXJ EXEC SQL [USING CONNECTION ] CALL [.][.] ([])

More information

Oracle9i JDeveloperによるWebサービスの構築

Oracle9i 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

Webシステム授業資料

Webシステム授業資料 Web システムプログラミング b 第 13 講目 Web システムプログラミング講義資料 到達目標 到達目標 Web システムを設計し 開発できること 最終成果物 : 学生生活で利用できる Web システム 授業計画 第 09 講 (12/03):Webシステムの基本設計 (1) 第 10 講 (12/10):Webシステムの基本設計 (2) 第 11 講 (12/17):WebシステムのDB 設計

More information

Microsoft PowerPoint - servlet1.pptx

Microsoft PowerPoint - servlet1.pptx Webとデータモデリング Javaによるサーバサイドプログラミング 北 川 博 之, 森 嶋 厚 行, 天 笠 俊 之 1 内 容 Javaによるサーバサイドプログラミング サーブレット JSP (Java Server Pages) Javaからのデータベースアクセス JDBC (Java Database Connectivity) 2 1 使 用 するソフトウェア サーブレット,JSP Apache

More information

JDBCアクセス

JDBCアクセス 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 information

0315_F1_8iJDBC-SQLJ.PDF

0315_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

3 Powered by mod_perl, Apache & MySQL use Item; my $item = Item->new( id => 1, name => ' ', price => 1200,

3 Powered by mod_perl, Apache & MySQL use Item; my $item = Item->new( id => 1, name => ' ', price => 1200, WEB DB PRESS Vol.1 79 3 Powered by mod_perl, Apache & MySQL use Item; my $item = Item->new( id => 1, name => ' ', price => 1200, http://www.postgresql.org/http://www.jp.postgresql.org/ 80 WEB DB PRESS

More information

サンプル Java プログラム

サンプル Java プログラム APPENDIX A 概要 この付録には Java Database Connectivity(JDBC) を使用して SQL データベースに接続し SQL 文を作成および実行してから 結果を取得する Java プログラムを作成するために必要なファイルが含まれています 表 A-1 に サンプルファイルを示します 表 A-1 内のファイル ファイル例 A-1 JTest.java 例 A-2 ConnectionPoolManager.java

More information

untitled

untitled cibm() Information Management DB2 UDB V8.2 SQL cibm() Information Management 2 DB2 UDB V8.2 SQL cibm() Information Management 3 DB2 UDB V8.2 SQL cibm() Information Management 4 cibm() Information Management

More information

Oracle WebLogic Server パフォーマンス・チューニング

Oracle WebLogic Server パフォーマンス・チューニング 第 71 回夜な夜な! なにわオラクル塾 WebLogic Server 勉強会 @ 大阪 基礎から学ぶ WebLogic ( データベース接続編 ) 日本オラクル株式会社 Fusion Middleware 事業統括本部野邊哲男 2011 年 11 月 9 日 以下の事項は 弊社の一般的な製品の方向性に関する概要を説明するものです また 情報提供を唯一の目的とするものであり

More information

FileMaker 16 ODBC と JDBC ガイド

FileMaker 16 ODBC と JDBC ガイド FileMaker 16 ODBC JDBC 2004-2017 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMakerFileMaker Go FileMaker, Inc. FileMaker WebDirect FileMaker

More information

FileMaker ODBC and JDBC Guide

FileMaker ODBC and JDBC Guide FileMaker 13 ODBC JDBC 2004-2013 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker Bento FileMaker, Inc. FileMaker WebDirect Bento FileMaker,

More information

目次 1. ロードランナーの紹介 ロードランナーの概要 ロードランナーの構成 ロードランナーの環境構成 ロードランナーの使用例 使用例 (Native-Protocol Driver)

目次 1. ロードランナーの紹介 ロードランナーの概要 ロードランナーの構成 ロードランナーの環境構成 ロードランナーの使用例 使用例 (Native-Protocol Driver) その他の知識 Tiberoの性能をテストするためのロードランナーの使用方法 2014. 04. 10. 目次 1. ロードランナーの紹介... 3 1.1. ロードランナーの概要... 3 1.2. ロードランナーの構成... 3 1.3. ロードランナーの環境構成... 4 2. ロードランナーの使用例... 6 2.1. 使用例 (Native-Protocol Driver)... 6 2 Tibero

More information

本ドキュメントについて この作品は クリエイティブ コモンズの表示 - 改変禁止 2.1 日本ライセンスの下でライセンスされています この使用許諾条件を見るには をチェックするか クリエイティブ コモ

本ドキュメントについて この作品は クリエイティブ コモンズの表示 - 改変禁止 2.1 日本ライセンスの下でライセンスされています この使用許諾条件を見るには   をチェックするか クリエイティブ コモ JDBC プログラミング基礎 株式会社ナレッジエックス http://www.knowledge-ex.jp/ Version 0.9.003 1 Copyright 2006-2010 Knowledge-ex.Ltd. Some rights reserved. 本ドキュメントについて この作品は クリエイティブ コモンズの表示 - 改変禁止 2.1 日本ライセンスの下でライセンスされています

More information

B2-Servlet-0112.PDF

B2-Servlet-0112.PDF B-2 Servlet/JSP Agenda J2EE Oracle8i J2EE Java Servlet JavaServer Pages PDA ( J2EE Java2 Enterprise Edition API API J2SE JSP Servlets RMI/IIOP EJB JNDI JTA JDBC JMS JavaMail JAF Java2 Standard Edition

More information

Thesis Template

Thesis Template Apache Derby 入門 2005 年 11 月 25 日 ( 木 ) 花井志生 http://www.ruimo.com 1 1. 概要 Derby は Pure Java のリレーショナルデータベース管理システム (RDBMS) です 元々 1996 年に Cloudscape 社で JBMS として開発されていたもので その後 Infomix IBM と買収された後 Apache Software

More information

Spring Framework Web Web Web DB AOP DI Java EE 3 Web WebMVC Web Java 4 DB H2 Database Java H2 Database http://www.h2database.com/ Version 1.0 Zip 5 H2 > cd $H2_HOME/bin > java cp h2.jar org.h2.tools.server

More information

Gartner Day

Gartner Day J2EE 1 J2EE C AP 2 J2EE AP DD java *.class java *.class java *.class *.class DD EAR, WAR, JAR orionapplicationclient.xmweb.xmapplication.jar.xml orion- orion-ejb- ml Oracle Application Server 10g *.jsp

More information

情報システム論

情報システム論 目 次 1. 情報システムの概要 1 1.1 問題解決とコンピュータの活用 1.2 情報処理システムの種類と実際 1.3 情報システムの変遷 1.4 情報システムの実際 2. システム開発の手順 5 2.1 システム開発手順の概要 2.2 ウォータフォールモデル 3. システム分析と要求定義 9 3.1 システム分析と要求定義の概論 3.2 分析技法 3.3 要求仕様書 3.4 問題演習 4. 情報システムの分析

More information

Microsoft PowerPoint - 4-MySQL50_JDBC_failover.ppt

Microsoft PowerPoint - 4-MySQL50_JDBC_failover.ppt MySQL5.0 JDBC ドライバフェイルオーバ機能 日本ヒューレットパッカード株式会社 オープンソース コンピテンシ センター 2006 年 8 月 31 日 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice 目次

More information

Microsoft Word - ACCESSINGO...

Microsoft Word - ACCESSINGO... Java から Oracle へのアクセス Salman Khan はじめに Java プログラムを記述してデータベースにアクセスしたいとします 何を使えばよいでしょうか JDBC または SQLJ でしょうか 両方とも API ( またはドライバ またはパッケージ... どのようにでも呼ぶことができます ) で データベースにアクセスできます なぜ 1 つではなく 2 つの API があるのでしょうか

More information

テーブルの確認 sqlite>.tables.tables コマンドでデータベース内のテーブル一覧を表示する テーブルスキーマの表示 sqlite>.schema mytable.schema コマンドで指定のテーブルのスキーマを表示できる テーブル出力の整形.explain コマンドを使うと テー

テーブルの確認 sqlite>.tables.tables コマンドでデータベース内のテーブル一覧を表示する テーブルスキーマの表示 sqlite>.schema mytable.schema コマンドで指定のテーブルのスキーマを表示できる テーブル出力の整形.explain コマンドを使うと テー Sqlite 関連コマンド紹介 adb shell コマンド 現在 どのディレクトリに居るかは pwd コマンドでわかります pwd 次に今いるディレクトリ上にどんなファイル ディレクトリ一覧があるかを知るために ls コマンドを実行します ls ディレクトリへの移動は cd コマンドを実行します cd フォルダ ( ディレクトリ ) 名 tmp ディレクトリを作ってみます ディレクトリ作成は mkdir

More information

10-C.._241_266_.Z

10-C.._241_266_.Z Windows 10 1 2 3 4 5 Visual Studio 2008LINQ MySchedule 242 Microsoft Visual C# 2008 10 Windows 243 1 LINQIEnumerableXML LINQ to Object q Form1.cs w RefreshListBox private void RefreshListBox() schedulelistbox.items.clear();

More information

FileMaker ODBC と JDBC ガイド

FileMaker ODBC と JDBC ガイド FileMaker ODBC JDBC 2004-2019 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMakerFileMaker CloudFileMaker Go FileMaker, Inc. FileMaker

More information

,, create table drop table alter table

,, create table drop table alter table PostgreSQL 1 1 2 1 3,, 2 3.1 - create table........................... 2 3.2 - drop table............................ 3 3.3 - alter table............................ 4 4 - copy 5 4.1..................................

More information

ValueHolder... 9 Customer.java Oracle TopLink 10g(10.1.3) È Volume3 2

ValueHolder... 9 Customer.java Oracle TopLink 10g(10.1.3) È Volume3 2 lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume3 Creation Date: Mar 04, 2005 Last Update: Aug 23, 2005 Version 1.0 ...3... 3...4... 4... 6 ValueHolder... 9 Customer.java... 10...14 Oracle TopLink 10g(10.1.3) È Volume3

More information

0 第 4 書データベース操作 i 4.1 データベースへの接続 (1) データベースチェックポイントの追加 データベースチェックポイントを追加します (2)ODBC による接続 ODBC を使用してデータベースへ接続します SQL 文を手作業で指定する場合 最大フェッチ行数を指定する場合はここで最大行数を指定します ii 接続文字列を作成します 作成ボタンクリック > データソース選択 > データベース接続

More information

Java 入門 6 Java 入門 6 - データベースにアクセスする Version 1.0 Kyosuke Yanai Copyright(c) 2010 Kyosuke Yanai

Java 入門 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 information

FileMaker 15 ODBC と JDBC ガイド

FileMaker 15 ODBC と JDBC ガイド FileMaker 15 ODBC JDBC 2004-2016 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker Go FileMaker, Inc. FileMaker WebDirect FileMaker,

More information

untitled

untitled JBoss Hibernate 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice 2 20 5 2 3 20 5 2 Hibernate Hibernate O/R Mapping Tool Hibernate 4 20

More information

Javaアプリケーション開発ガイド一般編

Javaアプリケーション開発ガイド一般編 Javaアプリケーション 開 発 ガイド 一 般 編 第 2 版 2011 年 9 月 富 士 通 株 式 会 社 まえがき 本 書 の 目 的 本 書 は JavaアプリケーションからSymfoware Serverを 利 用 する 方 法 について 説 明 しています 以 下 の 内 容 が 理 解 できることを 目 標 としています JDBCを 用 いてJavaアプリケーションからSymfoware

More information

JPA & Kuina-Dao入門

JPA & Kuina-Dao入門 2007 Autumn JPA & Kuina-Dao 入門 2007.11.11 The Seasar Project 中村年宏 (taedium) 1 自己紹介 中村年宏 ブログ http://d.hatena.ne.jp/taedium/ hatena ne メールアドレス toshihiro.nakamura@gmail.com コミッタとして関わっているプロダクト S2Container

More information

226

226 226 227 Main ClientThread Request Channel WorkerThread Channel startworkers takerequest requestqueue threadpool WorkerThread channel run Request tostring execute name number ClientThread channel random

More information

TechBlog_AuditTrail

TechBlog_AuditTrail Supercharge your analytics Zoom past competitors with a SQL in Hadoop Analytics Platform that s 0X faster and light years ahead. that form Marathon Oil s supply chain." "Using [Actian], we know that we

More information

Objective-C Objective-C C Toolbox API Cocoa Objective-C Java Carbon API C API Objective-C Java Pure Java Java AppleScript Java Objective-C Project Bui

Objective-C Objective-C C Toolbox API Cocoa Objective-C Java Carbon API C API Objective-C Java Pure Java Java AppleScript Java Objective-C Project Bui AppleScript Studio AppleScript AppleScript Stduio Objective-C Cocoa Cocoa Objective-C Java AppleScript AppleScript Studio Application Suite call method call method [of class ] [of object ] [with parameter

More information

S2Dao入門

S2Dao入門 2007 Spring S2Dao 入門 大中浩行 (a.k.a. せとあずさ ) 2007 Spring Copyright 2004-2007 The Seasar Foundation and the others. All rights reserved. 1 自己紹介 大中浩行 (a.k.a. せとあずさ ) azusa@fieldnotes.jp http://www.fieldnotes.jp/d/

More information

早分かりS2Dao

早分かりS2Dao 2008 Spring 早分かり S2Dao Seasar プロジェクトコミッタ ( 株 ) エルテックス 大中浩行 2008 Spring Copyright 2004-2008 The Seasar Foundation and the others. All rights reserved. 1 アジェンダ はじめに S2Dao とは? S2Dao に必要なもの S2Dao を動かしてみる 挿入

More information

Case 0 sqlcmdi.parameters("?tencode").value = Iidata(0) sqlcmdi.parameters("?tenname").value = Iidata(1) 内容を追加します sqlcmdi.executenonquery() Case Else

Case 0 sqlcmdi.parameters(?tencode).value = Iidata(0) sqlcmdi.parameters(?tenname).value = Iidata(1) 内容を追加します sqlcmdi.executenonquery() Case Else Imports MySql.Data.MySqlClient Imports System.IO Public Class Form1 中間省略 Private Sub コマンドテストCToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles コマンドテストCToolStripMenuItem.Click

More information

橡実践Oracle Objects for OLE

橡実践Oracle Objects for OLE THE Database FOR Network Computing 2 1. 2 1-1. PL/SQL 2 1-2. 9 1-3. PL/SQL 11 2. 14 3. 16 3-1. NUMBER 16 3-2. CHAR/VARCHAR2 18 3-3. DATE 18 4. 23 4-1. 23 4-2. / 24 26 1. COPYTOCLIPBOARD 26 III. 28 1.

More information

syuryoku

syuryoku 248 24622 24 P.5 EX P.212 2 P271 5. P.534 P.690 P.690 P.690 P.690 P.691 P.691 P.691 P.702 P.702 P.702 P.702 1S 30% 3 1S 3% 1S 30% 3 1S 3% P.702 P.702 P.702 P.702 45 60 P.702 P.702 P.704 H17.12.22 H22.4.1

More information

土壌環境行政の最新動向(環境省 水・大気環境局土壌環境課)

土壌環境行政の最新動向(環境省 水・大気環境局土壌環境課) 201022 1 18801970 19101970 19201960 1970-2 1975 1980 1986 1991 1994 3 1999 20022009 4 5 () () () () ( ( ) () 6 7 Ex Ex Ex 8 25 9 10 11 16619 123 12 13 14 5 18() 15 187 1811 16 17 3,000 2241 18 19 ( 50

More information

FileMaker ODBC and JDBC Guide

FileMaker ODBC and JDBC Guide FileMaker 14 ODBC JDBC 2004-2015 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker Go FileMaker, Inc. FileMaker WebDirect FileMaker,

More information

jdbc.book

jdbc.book BEAWebLogic Server and WebLogic Express WebLogic JDBC ÔÖ ÐÖÔ Ñ ÏÏÒ BEA WebLogic Server Ó ÑÕ 7.0 ÔÓÕÎÖÊ u : 2004 10 13 m Copyright 2002, 2003 BEA Systems, Inc. All Rights Reserved. ÑÔÒÏÏÎÆÍËÔÓÕÎÖÊÂBEA Systems,

More information

Java (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1

Java (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1 Java (9) 1 Lesson 7 2008-05-20 Java System.out.println() 1 Java API 1 Java Java 1 GUI 2 Java 3 1.1 5 3 1.0 10.0, 1.0, 0.5 5.0, 3.0, 0.3 4.0, 1.0, 0.6 1 2 4 3, ( 2 3 2 1.2 Java (stream) 4 1 a 5 (End of

More information

ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web 2014 3

ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web 2014 3 Web 2.0 Web Web Web Web Web Web Web I II I ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web 2014 3 1. 1.1 Web... 1 1.1.1... 3 1.1.2... 3 1.1.3... 4 1.2... 4 I 2 5 2. HTMLCSS 2.1 HTML...

More information

PSQL_JDBC_Guide.book

PSQL_JDBC_Guide.book Pervasive PSQL v10 SP3 JDBC Driver Guide Developing Applications Using the Pervasive JDBC Driver 免責事項 商標 Pervasive Software Inc. は 本ソフトウェアおよびドキュメントの使用を 利用者またはその会社に対して 現状のまま で かつ同梱の使用許諾契約書に記載の契約条件によってのみ許諾するものです

More information

全商情報処理検定プログラミング部門 サンプル問題1級解説

全商情報処理検定プログラミング部門 サンプル問題1級解説 全商情処プロ部門 Java 解説平成 25 年 2 月サンプル問題 1 級 7 ( 映画館の問題 ) 解答 (1)ageNum[age] += num (2)index = age (3)n < m (4)work = list.get(n) (5)i < list.size() 問題を解く前に クラスやメソッドを正確に把握する必要がある 具体的にはクラスやメソッドを四角で囲って視覚的に理解する メソッドを呼び出している個所をマーカーで線を引く

More information

アプレットの作成

アプレットの作成 - 1 - import java.applet.applet; import java.awt.graphics; public class HelloWorld extends Applet { public void init() { resize(150,60) ; public void paint ( Graphics g ) { g.drawstring("hello, world!",

More information

Microsoft Word - deim2016_terakawa.docx

Microsoft Word - deim2016_terakawa.docx DEIM Forum 2016 E6-2 異種情報源の統合を支援するシステムの実現 寺川文乃宝珍輝尚野宮浩輝 京都工芸繊維大学 606-8585 京都府京都市左京区松ヶ崎橋上町 E-mail: {hochin, nomiya}@kit.ac.jp あらましこれまでに, 異種情報源の統合を目的として, 異種情報源統合システムを試作してきた. このシステムにはメモリ使用量が多いことと,GUI も含めたシステムになっており汎用性が高くない,

More information

S2DaoでもN:Nできます

S2DaoでもN:Nできます S2Dao でも N:N できます 1 自己紹介 名前 : 木村聡 ( きむらさとし ) Seasarプロジェクトコミッタ : S2Struts S2Mai 舞姫 仕事 ( 株 ) フルネス フレームワーク 自動生成ツール 2 これまで書いたものとか 書籍 : Eclipse で学ぶはじめての Java Seasar 入門 ~ はじめての DI&AOP~ 雑誌 Web 記事 CodeZine DB

More information

Oracle Application Server 10g Release 3(10.1.3)- アジャイル・エンタープライズ(俊敏な企業)のためのデータ・アクセス

Oracle Application Server 10g Release 3(10.1.3)- アジャイル・エンタープライズ(俊敏な企業)のためのデータ・アクセス Oracle Application Server 10g Release 3 10.1.3 2005 8 Oracle Application Server 10g Release 3 10.1.3... 3 Oracle Application Server 10g Release 3 10.1.3 3... 4... 4 RAC... 6 JDBC... 7 JMX... 8... 9 Oracle...

More information

データを TreeView コントロールで表示 VisualStudio2017 の Web サイトプロジェクトで bootstrap, 及び script フォルダの js ファイルが使用できるマスターページを親とする TestTreeView.aspx ページを作成します 下記の html コー

データを TreeView コントロールで表示 VisualStudio2017 の Web サイトプロジェクトで bootstrap, 及び script フォルダの js ファイルが使用できるマスターページを親とする TestTreeView.aspx ページを作成します 下記の html コー データを TreeView コントロールで表示 VisualStudio2017 の Web サイトプロジェクトで bootstrap, 及び script フォルダの js ファイルが使用できるマスターページを親とする TestTreeView.aspx ページを作成します 下記の html コードのスタイルを作成します html コード 1

More information

PowerPoint Presentation

PowerPoint Presentation Webデザイン特別プログラムデータベース実習編 3 MySQL 演習, phpmyadmin 静岡理工科大学総合情報学部幸谷智紀 http://na-inet.jp/ RDB の基礎の基礎 RDB(Relational DataBase) はデータを集合として扱う データの取り扱いはテーブル (= 集合 ) の演算 ( 和集合, 積集合 ) と同じ データベースには複数のテーブルを作ることができる

More information

Microsoft Word - Android_SQLite講座_画面800×1280

Microsoft Word - Android_SQLite講座_画面800×1280 Page 24 11 SQLite の概要 Android にはリレーショナルデータベースである SQLite が標準で掲載されています リレーショナルデータベースは データを表の形で扱うことができるデータベースです リレーショナルデータベースには SQL と呼ばれる言語によって簡単にデータの操作や問い合わせができようになっています SQLite は クライアントサーバ形式ではなく端末の中で処理が完結します

More information

PSQL_JDBC_Guide.book

PSQL_JDBC_Guide.book Pervasive PSQL v11 JDBC Driver Guide Developing Applications Using the Pervasive JDBC Driver 免責事項 商標 Pervasive Software Inc. は 本ソフトウェアおよびドキュメントの使用を 利用者またはその会社に対して 現状のまま で かつ同梱の使用許諾契約書に記載の契約条件によってのみ許諾するものです

More information

- 1 - - 0.5%5 10 10 5 10 1 5 1

- 1 - - 0.5%5 10 10 5 10 1 5 1 - - - 1 - - 0.5%5 10 10 5 10 1 5 1 - 2 - - - - A B A A A B A B B A - 3 - - 100 100 100 - A) ( ) B) A) A B A B 110 A B 13 - 4 - A) 36 - - - 5 - - 1 - 6-1 - 7 - - 8 - Q.15 0% 10% 20% 30% 40% 50% 60% 70%

More information

Microsoft Word - 430_15_Developing_Stored_Procedure.doc

Microsoft Word - 430_15_Developing_Stored_Procedure.doc Java Oracle 1998 11 Java 3 Java Web GUI Java Java Java Oracle Java Oracle8i Oracle / Oracle Java Virtual Machine VM CORBA Enterprise JavaBeans Oracle Java Java Java Oracle Oracle Java Virtual Machine Oracle

More information

日本オラクル株式会社

日本オラクル株式会社 FISC 6 Oracle Database 10g ~ ~ : 2005 7 26 : 2005 7 31 : 1.0 2004 4 (* ) FISC ) (* ) FISC 6 (* FISC 6 ) FISC 6 Oracle g Database 10 (FISC) http://www.fisc.or.jp FISC http://www.fisc.or.jp/info/info/050307-1.htm

More information

MySQL Connector/J における SQL インジェクションの脆弱性

MySQL Connector/J における SQL インジェクションの脆弱性 Japan Computer Emergency Response Team Coordination Center 電子署名者 Japan Computer Emergency Response Team Coordination Center DN c=jp, st=tokyo, l=chiyoda-ku, email=office@jpcert.or.jp, o=japan Computer

More information

ALG ppt

ALG ppt 2012 6 21 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 l l O(1) l l l 2 (123 ) l l l l () l H(k) = k mod n (k:, n: ) l l 3 4 public class MyHashtable

More information

untitled

untitled Release 11.5/Composer 2002-2006 Unify Corporation All rights reserved. Sacramento California, USA No part of this tutorial may be reproduced, transmitted, transcribed, stored in a retrieval system, or

More information

Oracle9iAS Containers for J2EEチュートリアル

Oracle9iAS Containers for J2EEチュートリアル Oracle9iAS Containers for J2EE Servlet/JSP ...3...3 OC4J...4 OC4J...4...5 OC4J...6 OC4J...6 OC4J...7 Servlet/JSP...8 Servlet...8 Servlet...8 JSP...8 Servlet/JSP...10 Web...10 Servlet/JSP...11 Servlet/JSP...12

More information

aiuser.book

aiuser.book BEAWebLogic Integration Application Integration ªªªªª ª ªªªª 7.0 ªª ª ª : 2002 6 m Copyright 2002, BEA Systems, Inc. All Rights Reserved. ªª ª ªªª ª BEA Systems, Inc. vw ~ ª ªª v ª ª ª ª ªª ~ ªª ª ª ÿ

More information

untitled

untitled 2011 6 20 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2011/index.html tech.ac.jp/k1sakai/lecture/alg/2011/index.html html 1 O(1) O(1) 2 (123) () H(k) = k mod n

More information

With sqlda sqlda に SelectCommand を追加.SelectCommand = New MySqlCommand() With.SelectCommand.CommandType = CommandType.Text.CommandText = "select * from

With sqlda sqlda に SelectCommand を追加.SelectCommand = New MySqlCommand() With.SelectCommand.CommandType = CommandType.Text.CommandText = select * from Imports MySql.Data.MySqlClient Public Class Form1 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Label3.Text = "MySQL のデータ表示と更新のテストを行います メニューから行いたい処理を選択して実行してください

More information

橡j_Oracle_whitepaper.PDF

橡j_Oracle_whitepaper.PDF Pervasive-Oracle 1 1 Pervasive Software Pervasive-Oracle / Pervasive Oracle Pervasive-Oracle ISV Pervasive-Oracle Pervasive.SQL Oracle 2 Pervasive-Oracle Pervasive-Oracle Pervasive.SQL Oracle Open Database

More information

Z7000操作編_本文.indb

Z7000操作編_本文.indb 2 8 17 37Z700042Z7000 46Z7000 28 42 52 61 72 87 2 3 12 13 6 7 3 4 11 21 34 61 8 17 4 11 4 53 12 12 10 75 18 12 42 42 13 30 42 42 42 42 10 62 66 44 55 14 25 9 62 65 23 72 23 19 24 42 8 26 8 9 9 4 11 18

More information

Microsoft Word - Android_SQLite講座_画面800×1280

Microsoft Word - Android_SQLite講座_画面800×1280 Page 5 5 アクティビティ ( 一覧 ) を作成する ファイル名 : src/jp/edu/mie/view010.java ( 新規作成 ) /* * View010 */ import android.app.activity; import android.content.intent; import android.os.bundle; import android.view.view;

More information

ALG ppt

ALG ppt 2012 7 5 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html (198 ) f(p) p 2 1 2 f 2 53 12 41 69 11 2 84 28 31 63 97 58 76 19 91 88 53 69 69 11 84 84 63

More information

URL AdobeReader - 2

URL AdobeReader - 2 URL AdobeReader - 2 ...5...6...7...7...8...8...9...12...14...16...22...24 11.1....24 11.2....24 11.3....25 11.4....26...28...28 GoodNews...29-3 - 4 Office XP Professional - 5 - 6 Access Office XP Professional

More information

自己管理型データベース: アプリケーションおよびSQLチューニング・ガイド

自己管理型データベース: アプリケーションおよびSQLチューニング・ガイド : SQL 2005 9 : SQL... 3 SQL... 6... 8... 9 SQL :... 9 SQL... 10... 11 SQL... 12 SQL TUNING SET... 13 SQL... 14 ADDM SQL... 14 SQL... 15 STS... 15... 16 SQL... 16 DBMS_SQLTUNE... 17... 17 SQL... 19 SQL

More information