persistence@glassfish.java.net

Re: Way to specify default schema for entire persistence unit?

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Tue, 27 Feb 2007 08:38:17 +0530

Jon,

Pl. look at
https://glassfish.dev.java.net/javaee5/persistence/persistence_faq.html#14

Sahoo

Marina Vatkina wrote:
> Hi Jon,
>
> orm.xml might help - it has PU-wide settings (though there are bugs in
> processing this element :( ).
>
> thanks,
> -marina
>
> Jon Miller wrote:
>> Hi all,
>>
>> I'm wondering if there is a way to specify that default schema for a
>> persistence unit as a whole. So far, I've been setting it at the
>> class level using the Table annotation. I just noticed that this
>> doesn't seem to affect things like sequences. Not a big deal, just
>> wondering if there is a way to do it.
>>
>> Jon