Make your own free website on Tripod.com

InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InstantDB: Problem with Longvarbinary data


Hello there,

here is brief discription of my problems........

1. actually i have created a table with details here.....

CREATE TABLE PERSONAL (
	name		varchar2(50) PRIMARY KEY,
	age 		short,
	xmlData		longvarbinary 
   );

in xmldata column i like to store an xml document.....document is getting
stored in database, but when i try to retrieve the document using 

Clob clob = rst.getClob(3);
Reader reader = clob.getCharacterStream();

or 

Reader reader = rst.getCharacterStream(3);

i get an exception ---> Exception in thread "main" java.sql.SQLException:
Method not implemented
        at
org.enhydra.instantdb.jdbc.idbResultsSet.getClob(idbResultsSet.java:9
98)
        at IdbConnection.main(IdbConnection.java:29)

altough if i write an sql file(tempsql.txt) and try to retrieve the same
document, things go well......

i have written this in tempsql.txt

q SELECT name,age,xmlData FROM PERSONAL;

java org.enhydra.instantdb.ScriptTool tempsql.txt

it shows me complete document on dos prompt

please suggest something.

2. when i opened a database connection and execute a statement with autoCommit
set to false, database still commits the changes......
i have used the same properties file sample.prp.

please help........

Tariq

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.