Re: Openbase

From: Mike Kienenberger (mkienen..laska.net)
Date: Tue Feb 10 2004 - 14:14:41 EST

  • Next message: Andrus Adamchik: "Re: Problem by Updating an Object"

    Stephen Adams <sadam..nfoscribe.com> wrote:
    > Is there a FAQ for setting up the driver to connect Cayenne to OpenBase?
    >
    > I am having trouble setting up JDBC driver information, I keep getting the
    > error message "No Suitable driver"

    Hi again Steve. :)

    First off, you'll probably want to make sure you're using the latest 1.1 (or
    maybe the latest 1.0 will work as well) in order to be sure you have
    OpenBase support.

    I have the following in my cayenne.xml file:

            <node name="OpenBase"
                     datasource="OpenBase.driver.xml"
                     adapter="org.objectstyle.cayenne.dba.openbase.OpenBaseAdapter"
                     factory="org.objectstyle.cayenne.conf.DriverDataSourceFactory">
             </node>

    My OpenBase.driver.xml file contains this:

    <driver project-version="1.0" class="com.openbase.jdbc.ObDriver">
            <url value="jdbc:openbase://localhost/EbppOnlineBilling"/>
            <connectionPool min="1" max="1" />
            <login userName="yyyyyyyyyy" password="xxxxxxxxxx"/>
    </driver>

    You will probably need to post your configuration files if this doesn't
    help.

    -Mike



    This archive was generated by hypermail 2.0.0 : Tue Feb 10 2004 - 14:14:42 EST