Re: [hibernate-dev] Refactoring of org.hibernate.cfg.Configuration

2013-12-30 Thread Steve Ebersole
Configuration is softly deprecated; the class itself is not marked @Deprecated (just a single method on it is). The reason for that is discussed elsewhere, so I won't go back into specifics. Suffice it to say that it is to make way for an improved means of bootstrapping that it coming in 5.0.

Re: [hibernate-dev] Refactoring of org.hibernate.cfg.Configuration

2013-12-24 Thread Andrey Polyakov
Thank you for your reply Shaozhuang Liu. I assume the classes you advised me is not what I need. Ineed, I need to work after the following method: http://docs.jboss.org/hibernate/orm/4.3/javadocs/org/hibernate/cfg/Configuration.html#generateSchemaUpdateScript(org.hibernate.dialect.Dialect, org.hi

Re: [hibernate-dev] Refactoring of org.hibernate.cfg.Configuration

2013-12-23 Thread Shaozhuang Liu
This Configuration class is being deprecated in 5.0, take a look of the new interface :) org.hibernate.metadata package: * MetadataSources * Metadata * MetadataBuilder * SessionFactoryBuilder On Dec 24, 2013, at 1:45, Andrey Polyakov wrote: > Hi everyone, > > I am writing to make a proposal

[hibernate-dev] Refactoring of org.hibernate.cfg.Configuration

2013-12-23 Thread Andrey Polyakov
Hi everyone, I am writing to make a proposal to refactor the Configuration class as an interface and and implementation for the reason below. It would allow third-party developers as myself to use proxies and decorators with default configuration. For example, in groovy.grails they extend the Co