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]

SV: InstantDB: InstantDB and CocoBaseFreeJDBC


Hey, Jürgen,

You could try to extend the org.enhydra.instantdb.jdbc.idbDriver in a object
like jdbc.idbDriver (if I remember right, jdbc was the old package name).


Regards
Martin


-----Oprindelig meddelelse-----
Fra: owner-instantDB@enhydra.org [mailto:owner-instantDB@enhydra.org]På
vegne af Juergen Roeder
Sendt: 29. september 2000 16:34
Til: instantDB@enhydra.org
Emne: Re: InstantDB: InstantDB and CocoBaseFreeJDBC


Hi!
I wrote a mail to Thought Inc. asking whether the CocoBase Free works
with InstantDB 3.20 or not.
They told me, that they don't support any InstantDB version newer than
the one released with CocoBaseFreeJDBC (v 2.20!). Problems using
CocoBase with InstantDB newer than v2.20 occurs because the name of the
InstantDB JDBC driver has changed from "jdbc.idbDriver" to
"org.enhydra.instantdb.jdbc.idbDriver".
Regards
Juergen

joseph shoop wrote:
>
>
> Hey Juergen
>
> this how I was connecting to InstantDB using CocoBase:
>
> I just point my classpath to the cocobase classes, and include the
> latest Instant db jar.
>
> here is some example code I used:
>
> <snip>
>
>             myBase = CocoDriver.getCocoDriver(
> section.getString("classpath"),
>
> section.getString("driver"),
>
> section.getString("connect"),
>
> section.getString("user"),
>
> section.getString("password"));
>             //to see output
>             myBase.setDebug(true);
>             if(myBase.connect() == -1) {
>                 System.out.println("Failed connect!");
>             }
>
> </snip>
>
>
> Then to use, for example for looking up a person by name:
>
> <snip>
>
>
>         try {
>
>             Person person = new Person();
>             person.setLogin(username);
>             Vector foundPerson = getCocoDriver().selectAll(person);
>
>                 return (Person)foundPerson.firstElement();
>
>
>         } catch(Exception ex) {
>
>
>         }
>
>
> </snip>
>
>
>
> Hope this helps,
>
> joe
>
>
>
>
>
> Juergen Roeder wrote:
>
> > Hi!Is anybody out there working with CocoBaseFreeJDBC?I'm working
> > with InstantDB 3.20 beta2 and CocoBaseFreeJDBC 3.01. If I try to
> > open a new db connection with the CocoAdmin Tool I get the following
> > error message: "Bad JDBC ClassName! CocoBase Free only works with
> > InstantDB or SimpleText!" It seems that CocoBaseFreeJDBC is shipped
> > with InstantDB v2.20 and all the properties files in the cocobase
> > demos subdirectory rely on version 2.20 of InstantDB.I substituted
> > all InstantDB v2.20 jars shipped with cocobase by InstantDB v3.20
> > beta2 jars and edited all the necessary properties files to work
> > with InstantDB v3.20 beta2. I set idb.jar properly in the CLASSPATH
> > too. Any idea what's going wrong? Thanks for help in advance!Jürgen

--
Juergen Roeder
IT-Consultant
Stettinerstrasse 8
D-61348 Bad Homburg v.d.H.
Fon   +49 6172 969948
Fax   +49 6172 969913
Mobil +49 173 3162452
---------------------------------------
Natl. eMail: juergen-roeder@t-online.de
Intl. eMail: juergen_roeder@hotmail.com
---------------------------------------

-----------------------------------------------------------------------------
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.