Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 62822 invoked from network); 11 Nov 2006 05:38:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2006 05:38:41 -0000 Received: (qmail 44271 invoked by uid 500); 11 Nov 2006 05:38:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44240 invoked by uid 500); 11 Nov 2006 05:38:51 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 44231 invoked by uid 99); 11 Nov 2006 05:38:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 21:38:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of tomonaka@basil.ocn.ne.jp designates 222.146.51.83 as permitted sender) Received: from [222.146.51.83] (HELO smtp.basil.ocn.ne.jp) (222.146.51.83) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 21:38:37 -0800 Received: from [192.168.0.8] (p18208-adsah09honb5-acca.tokyo.ocn.ne.jp [219.161.98.208]) by smtp.basil.ocn.ne.jp (Postfix) with ESMTP id ED6B56D00 for ; Sat, 11 Nov 2006 14:38:14 +0900 (JST) Received: from 127.0.0.1 (AVG SMTP 7.5.431 [268.14.2/528]); Sat, 11 Nov 2006 14:39:42 +0900 Message-ID: <4555621C.8030804@basil.ocn.ne.jp> Date: Sat, 11 Nov 2006 14:39:40 +0900 From: TomohitoNakayama User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-1471) Implement layer B streaming for new methods defined in JDBC4.0 References: <12926922.1163082280404.JavaMail.jira@brutus> <45533C41.5020904@sun.com> <4553489D.7030000@basil.ocn.ne.jp> <45545715.4070702@sun.com> In-Reply-To: <45545715.4070702@sun.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello. Thank you for your comment :) I think you understood what the issue is. I understand your idea as using module of Engine where JDBC4.0 feature is implemented directly rather than via JDBC interface from NetworkServer. I take the idea in consideration. Best regards. Oystein Grovlen - Sun Norway wrote: > TomohitoNakayama wrote: > > Hello. > > > > Thank you for your kindness :) > > > > What is needed is calling method which was introduced in JDBC 4.0 > > from NetworkServer to utilize JDBC 4.0 feature in Engine. > > Concretely,the method is PreparedStatement#setBinaryStream(int, > > java.io.InputStream). > > > http://download.java.net/jdk6/docs/api/java/sql/PreparedStatement.html#setBinaryStream(int,%20java.io.InputStream) > > > > > > > What is important is that JDBC 4.0 is optional and > > implementation to utilize the feature of it should be appropriately > > placed in code of NetworkServer > > in order to keep compatibility for previous spec in NetworkServer. > > > > If I understand you correctly the issue is: > > - When using Layer B streaming, you want the Network Server to be > able to use the new JDBC 4 methods for lengthless streaming. > - The problem is that the JDBC 4 methods is not directly available > to the NetworkServer if using older run-time libraries (e.g., Java > SE 5). > > Since the implementation of the JDBC 4 methods will be part of > derby.jar regardless of which JVM you are running on, I would guess it > is just a question of how to make them available to the network > server. > -- /* Tomohito Nakayama tomonaka@basil.ocn.ne.jp tomohito@rose.zero.ad.jp tmnk@apache.org Naka http://www5.ocn.ne.jp/~tomohito/TopPage.html */