-->
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.  [ 3 posts ] 
Author Message
 Post subject: Is it possible to use shards with EntityManager / JPA
PostPosted: Fri Apr 15, 2011 5:03 pm 
Newbie

Joined: Thu Sep 14, 2006 12:08 pm
Posts: 19
I need to scale my database using horizontal table partitioning. Does it make sense to use Shards within the context of a single database as means to do horizontal table partitioning? Also does shards work with JPA / entitymanager yet. The following suggests not:

Quote:
Many of you will quickly realize that the configuration mechanism we've provided won't work if you're configuring your SessionFactory via JPA. It's true. We expect this deficiency to be addressed shortly. (source)


How are other folks dealing with horizontal table partitioning when using hibernate entity manager?


Top
 Profile  
 
 Post subject: Re: Is it possible to use shards with EntityManager / JPA
PostPosted: Wed Apr 20, 2011 5:33 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

not sure about Shards. There was hardly any development on Shards for quite some time now. Maybe you should look more into a multi tenancy solution - http://relation.to/Bloggers/MultitenancyInHibernate ?

--Hardy


Top
 Profile  
 
 Post subject: Re: Is it possible to use shards with EntityManager / JPA
PostPosted: Wed Apr 20, 2011 6:50 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
about multitenancy and Hibernate 4, there's a webinar starting very soon:
http://www.jboss.org/webinars

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.