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