Re: [hibernate-dev] multi-tenancy in Hibernate and JPA 2.1

2012-04-10 Thread Steve Ebersole
On Wed 04 Apr 2012 04:26:30 PM CDT, Steve Ebersole wrote: >> I am not sure how the PaaS multi-tenant config will look like exactly >> but if we can >> automatically prefix the 2LC regions without adding an explicit >> mandatory property >> that would be nice. > > Sure. The problem is that in the J

Re: [hibernate-dev] Identify Hibernate version

2012-04-10 Thread Dmitry Geraskov
Thanks, Hardy! Dmitry 10.04.2012 17:59, Hardy Ferentschik написал: > Hi Dmitry, > > you are basically looking at the right place. For any released version of > Hibernate Version#getVersionString() > will return the release tag of the Hibernate version. > > If you are compiling the HEAD of the ma

[hibernate-dev] Identify Hibernate version

2012-04-10 Thread Dmitry Geraskov
Hi, guys, could you please tell me how to identify hibernate version used at run time. I expected to get it from org.hibernateVersion , but the code is: public class Version { public static String getVersionString() { return "[WORKING]"; } ... } Could you please help? Thanks

Re: [hibernate-dev] [OGM] MongoDB dialect and treatment of _id

2012-04-10 Thread Sanne Grinovero
Why should we not rely on the flexibility of the object/physical mapping we normally provide to relational database users? Specifically, would it be possible to use "javax.persistence.Column" to have the user specify how the @Id attribute should be mapped in the "physical" MongoDB "schema" ? If t

Re: [hibernate-dev] [OGM] MongoDB dialect and treatment of _id

2012-04-10 Thread Nicolas Helleringer
My DBA background tells me 'do not do thing behind the back of rou db' : I shall use the second strategy. But I am not sure what is the exact contract around _id column from the MongoDb devs. Niko 2012/4/6 Emmanuel Bernard > I would like to discuss the problem of _id in MongoDB and how to map