Cindy
When you say that you can't access tables, do you mean that you get a file
permissions error of some sort, or simply that the tables aren't there?
Regards
Peter Hearty
Lutris Technologies (UK)
----- Original Message -----
From: "Cindy Tipper" <ctipper@laurelnetworks.com>
To: <instantdb@enhydra.org>; <EnhydraEnterprise@enhydra.org>
Sent: Thursday, August 24, 2000 10:36 PM
Subject: InstantDB: InstantDB table access from CMP EJB
> Not sure which list this belongs on...
>
> I have a simple Java client that creates CMP EJBs (using latest versions
> of EnhydraEnterprise and InstantDB). I've found that if I use
> org.enhydra.instantdb.ScriptTool to create the table, using a file with
> the following code:
>
> ---------------------------------------------------
> ; First load the JDBC driver and open a database.
> d org.enhydra.instantdb.jdbc.idbDriver;
> o jdbc:idb=<full_path_to_file>/NE.prp;
>
> e drop table ne_sample;
> e create table ne_sample (
> name varchar(30) unique primary key
> );
> e insert into ne_sample values("foo");
> e insert into ne_sample values("bar");
>
> c close;
> ----------------------------------------------------
>
> that I can't access the tables from my bean. However, if I use a servlet
> (using JDBC/Datasource; specifically a modified version of InitServlet,
> found in EETest) to do the same table creation steps, the beans then
> have access to the table, even with server restarts. In both cases, I
> can use DBBrowser to view the table contents.
>
> Any thoughts? I'm new to Enhydra/InstantDB so I'm not sure if there are
> file permission issues (I'm grasping here!) that I might be missing, or
> something....
>
> Thanks --
> Cindy
> --------------------------------------------------------------------------
---
> 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.
|