Wrox Programmer Forums
|
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 16th, 2006, 12:04 PM
Authorized User
 
Join Date: Jan 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Analyze of a Blob

Hi;

I use Ibatis/Oracle 10 for getting a field BLOB I must transcribe the data which contains, for example: with the position from 0 to 10 I get of the dates, position 10 to 15 32-integer, etc... (with the constraint of the size of the BLOB which is very important).
 I think of doing this: I have my attribute:
byte [ ] data;
DataInputStream in = nex DataInputStream(new
ByteArrayInputStream(data))
Next, I use in.readFully(data, pos, len) to retreive the data.
its the best implementation or not ? Have you a example ?

Regards;

Thank you;






Similar Threads
Thread Thread Starter Forum Replies Last Post
BLOB: file is empty after retrieving blob data thr taraprasad Pro JSP 0 May 22nd, 2008 10:02 AM
analyze-string and variables pcase XSLT 1 June 8th, 2007 04:22 PM
Analyze of a BLOB yanis97 J2EE 0 September 8th, 2006 05:37 AM
Analyze XML doc using XSLT shumba XSLT 5 March 24th, 2006 05:19 PM
Oracle's Analyze Table equivalent ? smitha SQL Server 2000 1 October 27th, 2004 04:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.