Re: Connection-Object / Tomcat

From: Cris Daniluk (cris.danilu..mail.com)
Date: Thu Jan 12 2006 - 13:45:51 EST

  • Next message: Chronos: "Re: Connection-Object / Tomcat"

    Cayenne can use a data source from JNDI:

    http://objectstyle.org/cayenne/modelerguide/common-tasks/create-data-node.html
    http://objectstyle.org/cayenne/userguide/deploy/jndi.html

    Those two links should point you in the right direction..

    Cris

    On 1/12/06, Chronos <Kronos_..mx.net> wrote:
    > Hi!
    >
    > I use cayenne for a new project, but I?ve got a
    > little problem, I hope you can help me to solve it:
    >
    > >From Tomcat, I get a ConnectionObject to a MySQL-DB, so I don?t have a
    > url, password,.. to write it down into the cayenne config. Is there any
    > posibility to pass this Connection-Object to cayenne (substitute the
    > xNode.driver.xml)?
    >
    > Thanks for your help
    >
    > Gr
    >
    > pk
    >



    This archive was generated by hypermail 2.0.0 : Thu Jan 12 2006 - 13:45:53 EST