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?