[hibernate-dev] [OGM] Behavior of GenerationType.IDENTITY with OGM

2014-01-20 Thread Gunnar Morling
Hi, While reviewing the PR for batch operations in OGM [1], I took some time to better understand OGM's approaches for id generation. Now I'm wondering about how GenerationType.IDENTITY is implemented. The corresponding generator (OgmIdentityGenerator) just delegates to a table-based strategy, so

Re: [hibernate-dev] [OGM] Behavior of GenerationType.IDENTITY with OGM

2014-01-20 Thread Emmanuel Bernard
The problem is that in JPA, IDENTITY returns a long, not a UUID. On Mon 2014-01-20 12:23, Gunnar Morling wrote: > Hi, > > While reviewing the PR for batch operations in OGM [1], I took some time to > better understand OGM's approaches for id generation. > > Now I'm wondering about how Generation

[hibernate-dev] Fwd: [wildfly-dev] Hibernate Bug (tables starting with "and")...

2014-01-20 Thread Gunnar Morling
Hi, Jess Sightler had sent the original mail below to wildfly-dev, but it seems more suited here. --Gunnar -- Forwarded message -- From: Jess Sightler Date: 2014/1/20 Subject: Re: [wildfly-dev] Hibernate Bug (tables starting with "and")... To: Tomaž Cerar Cc: wildfly-...@lists.

Re: [hibernate-dev] [OGM] Behavior of GenerationType.IDENTITY with OGM

2014-01-20 Thread Gunnar Morling
Ah, is that specified somewhere? I couldn't find anything in the spec from a quick look. 2014/1/20 Emmanuel Bernard > The problem is that in JPA, IDENTITY returns a long, not a UUID. > > On Mon 2014-01-20 12:23, Gunnar Morling wrote: > > Hi, > > > > While reviewing the PR for batch operations i

Re: [hibernate-dev] Fwd: [wildfly-dev] Hibernate Bug (tables starting with "and")...

2014-01-20 Thread Steve Ebersole
Yep, I'll make sure this gets into Hibernate ORM 4.3.1. Up to WildFly to decide if they want 4.3.1 On 01/20/2014 09:40 AM, Gunnar Morling wrote: > Hi, > > Jess Sightler had sent the original mail below to wildfly-dev, but it seems > more suited here. > > --Gunnar > > -- Forwarded message

Re: [hibernate-dev] Fwd: [wildfly-dev] Hibernate Bug (tables starting with "and")...

2014-01-20 Thread Jess Sightler
Thanks Steve! - Original Message - > From: "Steve Ebersole" > To: "Gunnar Morling" , hibernate-dev@lists.jboss.org > Cc: jsigh...@redhat.com > Sent: Monday, January 20, 2014 1:37:53 PM > Subject: Re: [hibernate-dev] Fwd: [wildfly-dev] Hibernate Bug (tables > starting with "and")... > >