Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 43710 invoked from network); 13 Jun 2007 16:12:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2007 16:12:49 -0000 Received: (qmail 77085 invoked by uid 500); 13 Jun 2007 16:12:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 77044 invoked by uid 500); 13 Jun 2007 16:12:52 -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 77027 invoked by uid 99); 13 Jun 2007 16:12:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 09:12:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 09:12:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 810C07141AA for ; Wed, 13 Jun 2007 09:12:26 -0700 (PDT) Message-ID: <11439432.1181751146526.JavaMail.jira@brutus> Date: Wed, 13 Jun 2007 09:12:26 -0700 (PDT) From: "Anurag Shekhar (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-1341) LOB setBytes method(s) are currently no supported, but part of the Java 1.4 JDBC interface In-Reply-To: <10231.1148384429860.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Shekhar resolved DERBY-1341. ----------------------------------- Resolution: Fixed Fix Version/s: 10.3.0.0 > LOB setBytes method(s) are currently no supported, but part of the Java 1.4 JDBC interface > ------------------------------------------------------------------------------------------ > > Key: DERBY-1341 > URL: https://issues.apache.org/jira/browse/DERBY-1341 > Project: Derby > Issue Type: Improvement > Components: JDBC > Affects Versions: 10.0.2.0, 10.0.2.1, 10.0.2.2, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.3.0.0 > Environment: Windows 2000 > Reporter: Keith McFarlane > Assignee: Anurag Shekhar > Fix For: 10.3.0.0 > > Attachments: derby-1341-blob-forreview.diff, derby-1341.diff, LobStreamTest.java > > > JDBC LOB . getBtypes methods are not implemented in any Derby version to date: there is a "place-holder" method that throws a SQLException reporting that the methods are not implemented. > It would be excellent to have any efficient Derby implementation of the getBytes LOB methods that provide "random-access" to the binary // character content of database large objects. The specific context is implementing a Lucene Directory interface that stores indexing data (index files) and other binary data in a local encrypted Derby instance. > A work around is to write an encrypted RandomAccessFile implementation as a file-sdystem buffer, perhaps writing to the database on closure. An efficient Derby implementation of LOB . getBytes would avoid this an make for a clean design. I can think of several reasons why random-access to LOBs would be valuable in a "hostile" client environment. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.