Brett
There's no need to explicitly start the database in InstantDB. Just:
1. put idb.jar in your classpath;
2. load the org.enhydra.instantdb.jdbc.idbDriver using Class.forName();
3. ask DriverManager for a connection to an IDB .prp file.
The first connection opened will open the database, the last connection
closed will close it (as will an explicit SHUTDOWN command).
Regards
Pete
--
Peter Hearty peter.hearty@lutris.com
Lutris Technologies (UK) http://www.lutris.com
----- Original Message -----
From: "Brett McLaughlin" <brett.mclaughlin@lutris.com>
To: <instantdb@enhydra.org>
Sent: Thursday, September 14, 2000 1:00 AM
Subject: InstantDB: Statup
> Forgive the stupid question-
>
> Is there a need to "Startup" the database? It seems that it would need
> to be running in a JVM process for anything like EJBs, etc., to connect
> to it. Is there a command to do this? It's not documented, and seems
> sort of silly, but that's probably why nobody has asked ;-)
>
> -Brett
>
> --
> Brett McLaughlin, Enhydra Strategist
> Lutris Technologies, Inc.
> 1200 Pacific Avenue, Suite 300
> Santa Cruz, CA 95060 USA
> http://www.lutris.com
> http://www.enhydra.org
> --------------------------------------------------------------------------
---
> 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.
>
-----------------------------------------------------------------------------
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.
|