InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Problem with DatabaseMetaData.getTables and hyphenated db names


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.