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: NHibernate implementation question....
PostPosted: Mon Oct 12, 2009 12:17 pm 
Newbie

Joined: Mon Oct 12, 2009 12:06 pm
Posts: 2
We have some old code here and our client is arguing that our product cannot scale because of our implementation of NHibernate (version 1.0.1.0).

Our product has:

class A
class B : A
class C : A

When we:

ISession.Load(typeof(A)), 5)

The following SQL is generated:

Select ……
FROM A OUTER JOIN B OUTER JOIN C
WHERE A.ID = 5

They are adding new classes that inherit from A all the time and the above query is getting quite huge.

My question is twofold....

1.) Is this implementation necessary wrong (it was done a very long time ago), and
2.) What is the best way to resolve the situation going forward.

Thanks folks.


Top
 Profile  
 
 Post subject: Re: NHibernate implementation question....
PostPosted: Thu Oct 15, 2009 9:57 am 
Newbie

Joined: Mon Oct 12, 2009 12:06 pm
Posts: 2
Is there really no one out there with an opinion on this!?


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.