-->
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: Shards and JPA
PostPosted: Mon Aug 17, 2009 7:27 am 
Newbie

Joined: Mon Aug 17, 2009 7:07 am
Posts: 1
My project's persistence layer is configured with JPA. There are only two places where the existence of Hibernate is apparent: the JPA persistence.xml and the lib directory, where the Hibernate jars are located.

As a consequence, I am able to do all my persistence operations through javax.persistence.EntityManagerFactory; no Hibernate-specific Java code is needed.

Now, I would like to use Hibernate Shards in this project. However, according to the documentation, I have to start using the Hibernate SessionFactory in order to use Shards. The documentation mentions that:
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)

Do you know when it will be possible to use Shards via a JPA-configured SessionFactory? This is important, because I would not like to include Hibernate-specific code in my persistence layer.

Ps. Shards is cool!


Top
 Profile  
 
 Post subject: Re: Shards and JPA
PostPosted: Wed Aug 19, 2009 1:19 pm 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
I don't think anything has changed here - viewtopic.php?f=9&t=986999


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.