• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Multiple schema support in Middlegen?  RSS feed

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Does anyone know if middlegen supports multiple database schemas? I am currently using an oracle database with tables split across 3 schemas and I plan on using Hibernate to access/modify them. How do I specify that in the middlegen ANT task?

Can any one point out how I can do that? ( or even "IF" it can be done? )

Regards
Sagar

P.S: As with all issues this is rather urgent
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


tables split across 3 schemas


If you have three seperate, unrelated schemas you want to map thats OK. However if you have three schemas with relationships across three DB instances (with constraints between the DBs) this can't be done by Hibernate - so its immaterial whether middlegen can support it. If you require this then look at Oracle's docs for maintaining relationships between schemas.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!