users@glassfish.java.net

Re: Table in different schema with JPA

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Mon, 22 Mar 2010 22:33:24 +0100

@Entity
@Table(name = "module", schema = "core_pmm")
public class Module implements Serializable {


On Mon, Mar 22, 2010 at 8:58 PM, <glassfish_at_javadesktop.org> wrote:
> Hi friends. Currently I am using Oracle and I am working on MY_DATA schema and everyhing is ok using JPA; but now I need access to a table in OTHER_DATA schema , the table is called OTHER_DATA[b].[/b]CUSTOMER:
>
> How do I can see that table using JPA and working with the tables in MY_DATA schema?
>
> A lot of thanks.
> [Message sent by forum member 'p3p0']
>
> http://forums.java.net/jive/thread.jspa?messageID=393190
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
[url=http://www.dominikdorn.com]Dominik Dorn[/url]
Tausche Deine [url=http://www.studyguru.eu] Lernunterlagen [/url] auf
http://www.studyguru.eu !