dev@glassfish.java.net

Re: JPA in embedded GF?

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 21 Jul 2009 07:59:13 -0700

On Jul 20, 2009, at 10:01 AM, Marina Vatkina wrote:

> Jerome Dochez wrote:
>> On Jul 17, 2009, at 7:18 PM, Marina Vatkina wrote:
>>> Is it possible to use JPA with the latest embedded GF?
>> no yet, I have not tried
>>> If yes, how do I specify the details of the jdbc resource to be
>>> used?
>>>
>> you would need to run asadmin commands, the embedded way, through
>> the EmbeddedAdminContainer.
>
> Is it possible to point to an existing domain.xml instead?
yes you can do that see Server.ServerBuilder setEmbeddedFileSystem()

> If not, are there any examples that I can look at?
>
yes look at EmbeddedTest in distribution/web.

>>> thanks,
>>> -marina
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>