On Tue, Feb 24, 2009 at 1:46 AM, Li, Ping <[email protected]> wrote:

> Hi:
>
>
>
> I read the code in
> "bpel-store\src\main\java\org\apache\ode\store\jpa\DbConfStoreConnectionFactory.java"
>
> In the constructor, it set a DataSource object in to a Map. But according
> to the persistence_1_0.xsd (
> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd),
>
> The Map just can contain String object only.
>
>
>
> Does anyone can confirm that?
>

That's the spec yes but OpenJPA allows any object. And, at least when this
was implemented, it was the only way to provide a DataSource to OpenJPA.

Matthieu


>
>
>
>
>
>
>
> pli
> Software Engineer
> SPSS Inc.
> http://www.spss.com/
>
>
>
>

Reply via email to