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: single table subdivided into multiple mdb's
PostPosted: Sun May 25, 2008 12:12 pm 
Newbie

Joined: Sun May 25, 2008 10:18 am
Posts: 1
Hi,

I'm working on a project with a legacy database and would like to use NHibernate. The database contains a table (USER), which is subdivided into multiple mdb's. USER0.MDB contains all users with id < 1000, USER1.MDB contains users with id between 1000 and 2000 and so on.

I would like to be able to load or save any user object without caring in which MDB it is stored. Additionally it would be nice if I could perform query's over the whole table (all MDB's), but that's not really that important.

I'm relatively new to NHibernate and have no clue how this could be implemented so if anyone more experienced has some pointers how this could be done, any help is greatly appreciated.


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.