when making a connection to a database, is there any validation that the
file is in fact a "prp" file and not just any text file? I was testing the
connection interface in an application that I am writing. I decided to test
making a connection to a non-idb database file and surprisingly I obtained a
valid connection, rather than trapping an exception.
I then decided to try the same thing with SQLBuilder from the samples. I
used the setpath.bat as the database file and during the connection here is
what was created.
setpath$db$Cols$pKey.tbl
setpath$db$Tables$pKey.tbl
$db$types.tbl
setpath$db$Cols.tbl
setpath$db$Indexes.tbl
setpath$db$Tables.tbl
setpath.jrl
What is the procedure for verifying the file is a valid InstantDB prp file
prior to or during a connection?
Larry
-----------------------------------------------------------------------------
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.
|