-->
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.  [ 1 post ] 
Author Message
 Post subject: MySQL Catalogs and hibernate
PostPosted: Fri May 21, 2004 5:06 pm 
Newbie

Joined: Mon Feb 02, 2004 8:27 pm
Posts: 17
Hi all,

Does hibernate have any way of supporting MySQL catlogs? I asked a similar question some time ago and got the feeling that perhaps support for my particular issue was on the way.

My problem is that a design decision was made years ago that means that our database is split up into several catalogs (or databases as MySQL calls them). Each of the catalogs contain the same table structures. They were split like this to speed up queries (some of the tables have between thousands and millions of rows).

There is also a "central" catalog and sometimes queries will traverse the central and one or two of the other catalogs. this has made finding an object/relational mapping system somewhat tricky.

Obviously we can't create a mapping file and objects for every single instance of a table on our system so we need something a little more dynamic, where you can set the catalog at runtime depending on the user.

Any thoughts?

M.


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

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.