|
The SCRIPT <filename> command uses
ScriptWriterText. The readers are not currently used with all-in-memory
databases, but they might in the future for importing data. We also have a
files_readonly mode that uses the readers.
Fred
----- Original Message -----
Sent: 19 March 2005 23:24
Subject: Re: [Hsqldb-developers]
Scripting in HSQL
But all the files in scriptio package such as ScriptWriterText,
ScriptReaderBase, etc. are only useful for persistent databases
right? fredt <[EMAIL PROTECTED]>
wrote:
Sure, see the documentation. Both "SCRIPT" and "SCRIPT
<filename>" can be used for pure in-memory databases and are obviously
useful commands.
Fred
----- Original Message -----
Sent: 19 March 2005 22:01
Subject: [Hsqldb-developers]
Scripting in HSQL
Hi,
I would like to know that is the SCRIPT Statement on the database
only applied in case of Persistent databases, or is it also useful for
pure-in memory databases? I am assuming that all the ScriptWriter and
Reader classes are used in the context of Persistent databases only, but I
am not too sure about the org.hsqldb.DatabaseScript class, if it can be
used for transient databases as well?
Any help will be appreciated. I am refactoring the application to
only support In-Memory databases in the code, and make persistence an
aspect, that is why I need to be sure what is useful for only persistent
cases.
Thanks a lot.
Sincerely,
Irum Godil.
Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced
search. Learn
more.
Do you Yahoo!? Yahoo! Small Business - Try
our new resources site!
|