Tom, thanks for trying to help, but what you're describing has absolutely
nothing to do with my problem. I have no problem with quotes/apostrophes.
My problem is with the hyphen, or dash character: " - ". If my database
property file is named "checksums-ora.prp" I get errors when executing the
DatabaseMetaData.getTables method. It seems that the sql parser gets
confused when it encounters a dash in the db name. If I remove the hyphen
from the database name, so that it is "checksumsora.prp" theree are no
errors when calling the DatabaseMetaData.getTables method.
Once again: no problems with quotes or apostrophes! My problem is with
hyphens.
Regards,
Bill Graham
----- Original Message -----
From: "Tom Ngo" <tngo@waterford.org>
To: <instantDB@enhydra.org>
Sent: Wednesday, January 10, 2001 12:50 PM
Subject: Re: InstantDB: Problem with DatabaseMetaData.getTables and
hyphenated db names
> Well, the problem is that if you insert 'tim's' into the database, it
thinks you
> only want to insert 'tim' but have the left over s' that is giving the
problem,
> and exception is thrown by instantDB. So you shlould replace it with some
> characters that it takes, i like using double quotes so it inserts
'tim"s'. Not
> sure if it is in the doc, but that is just how it works.
-----------------------------------------------------------------------------
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.
|