persistence@glassfish.java.net

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

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Mon, 26 Feb 2007 14:41:10 -0800

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