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]

Re: InstantDB: InstantDB files not portable ??



--- Paul Libbrecht <paul@ags.uni-sb.de> wrote:
> 
> Hi all,
> 
> I was developping some things with InstantDB files
> on a Mac and 
> sending it to a Unix system it turns out there were
> always some sort 
> of problems something called IOException Unexpected
> EOF null...
> 
> So this is a sad reality ?? Is there anything to do
> to convert these ??
> 
Hi Paul,

Unload the files to comma-delimited text. 

Move the files to the unix machine.

Configue script file for loading records.  There's
good explanation of the readme and the doc.

Script could look like this:
; First load the JDBC driver and open a database.
d org.enhydra.instantdb.jdbc.idbDriver;
o jdbc:idb=your.prp;

; Record all results
e SET EXPORT "export0.txt" FIXEDLENGTH COLNAMEHEADER
ROWNUMBERS CONTROLCOL SUMMARYHEADER;

; Import the data, -- you might want to 
; create table first
e IMPORT yourTable From "yourTable.txt" USING
"yourTable_schema.txt";

c close;

Run org.enhydra.instantdb.ScriptTool with this script.

Hope this helps,
George



__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
-----------------------------------------------------------------------------
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.