-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: multiple schemas?
PostPosted: Fri Jul 02, 2004 6:19 pm 
Newbie

Joined: Fri Jul 02, 2004 6:13 pm
Posts: 1
Hi All,
I am using middlegen-hibernate r4 to read from an existing Oracle 9i database with 3 schemas under a JDK 1.4 environment.

I am facing 2 issues:

a) How do I get middlegen to recognize the different schemas in the DB?In the ant middlegen task you can only specify one schema element? Is there a way in which this can be achieved??


b) Also how do I write Hibernate queries ( I do not wish to write SQL queries) in which tables from 2 schemas are referenced?


Any help in this matter will be highly appreciated :)

Thanks and Regards.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 02, 2004 10:12 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
I would never cross schema boundaries. If you need to then consider synoyms (maybe views) and approriate grants allocated thats accessible from the primary schema. It comes down to the JDBC driver being able to get access to it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.