Re: Help Needed on Cayenne Geronimo Work

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Feb 26 2007 - 08:40:00 EST

  • Next message: Mike Kienenberger: "Re: mvn build failure: missing com.atlassian.confluence:confluence-soap:jar:2.0"

    On Feb 26, 2007, at 2:21 PM, Lasantha Ranaweera wrote:

    >
    > Please let me know how can create/refer a Datasource for a cayenne JPA
    > sample. Does it related to org.apache.cayenne.jpa.jpaDataSourceFactory
    > property?

    You either rely on Geronimo JNDI DataSource, referring to it by name
    in persistence.xml (I haven't tested it in Geronimo, but I don't see
    why it won't work) or you can tell Cayenne provider to create a non-
    jta DataSource per this docs page:

    http://cayenne.apache.org/doc/jpa-cayenne-provider-properties.html

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Feb 26 2007 - 08:40:39 EST