Re: [hibernate-dev] Closed pull requests

2014-11-27 Thread Andrej Golovnin
Hi Steve, > > https://github.com/hibernate/hibernate-orm/pull/777 > > > > > > > Overall, checking that the PR still applies is a good idea too. while working on a new pull request for the issue HHH-9324 I have noticed that the new master misses some dialects: Oracle12cDialect PostgreSQL92Dialec

Re: [hibernate-dev] org.hibernate.persister.spi.PersisterFactory and 5.0

2014-11-27 Thread Steve Ebersole
Actually, I take that back about Metadata extending org.hibernate.cfg.Mappings. I had contemplated doing that, but decided against it since Mappings exposes all kinds of "extra" stuff that isn't actually mappings/metadata (config info, contextual info, etc) and I did not want to fuglify these new c

Re: [hibernate-dev] org.hibernate.persister.spi.PersisterFactory and 5.0

2014-11-27 Thread Steve Ebersole
Well naturally there is still access to all this information :) IMO SessionFactoryObserver is a hack way of doing this. With 5.0, the way to do this would be one of the various bootstrap hooks I mentioned earlier. Specifically you want a hook that is called just after all metadata is fully known

Re: [hibernate-dev] org.hibernate.persister.spi.PersisterFactory and 5.0

2014-11-27 Thread Steve Ebersole
On Thu, Nov 27, 2014 at 3:13 AM, Gunnar Morling wrote: > Hi, > > 2014-11-27 1:23 GMT+01:00 Steve Ebersole : > >> Part of the goals for ORM 5.0 is moving from Configuration to the >> ServiceRegistry+Metadata for building a SessionFactory. >> >> One of the points I ran into that will have to change

Re: [hibernate-dev] org.hibernate.persister.spi.PersisterFactory and 5.0

2014-11-27 Thread Emmanuel Bernard
To add on Gunnar’s needs 3. Use Configuration to extract physical Table structure We also use configuration in the SchemaDefiner The SchemaDefiner received the Configuration from a custom implementation of SessionFactoryObserver and use it during sessionFactoryCreated. The reason we use Configu

Re: [hibernate-dev] org.hibernate.persister.spi.PersisterFactory and 5.0

2014-11-27 Thread Gunnar Morling
Hi, 2014-11-27 1:23 GMT+01:00 Steve Ebersole : > Part of the goals for ORM 5.0 is moving from Configuration to the > ServiceRegistry+Metadata for building a SessionFactory. > > One of the points I ran into that will have to change > is org.hibernate.persister.spi.PersisterFactory. The problems i

Re: [hibernate-dev] [OGM] storing the column names in the entity keys for K/V stores

2014-11-27 Thread Gunnar Morling
2014-11-26 17:28 GMT+01:00 Emmanuel Bernard : > > > On 26 Nov 2014, at 15:21, Gunnar Morling wrote: > > > > -11-26 12:42 GMT+01:00 Sanne Grinovero sa...@hibernate.org>>: > > It looks like you're aiming at a "pure" mapping into primitives for > > the datagrid. > > > > So it looks very beautiful a