[hibernate-dev] Trying Hibernate 5.0.0.Beta1

Steve Ebersole steve at hibernate.org
Tue Mar 31 18:19:44 EDT 2015


hibernate-core seems to be the only artifact that is available in JBoss
Nexus.

On Tue, Mar 31, 2015 at 5:18 PM, Steve Ebersole <steve at hibernate.org> wrote:

> So apparently the artifacts / repo issue is a Nexus bug that is effecting
> the JBoss repo (and therefore us)...
> http://issues.sonatype.org/browse/NEXUS-7654
>
> As I pointed out in the announcement, I am managing the "migration guide"
> in source repo while I develop the Betas.  See
> https://github.com/hibernate/hibernate-orm/blob/master/working-5.0-migration-guide.md
>  As far are the new bootstrapping apis, see
> http://docs.jboss.org/hibernate/orm/5.0/topical/html/bootstrap/NativeBootstrapping.html
> and
> http://docs.jboss.org/hibernate/orm/5.0/topical/html/bootstrap/LegacyBootstrapping.html
>
> On Tue, Mar 31, 2015 at 5:07 PM, Petar Tahchiev <paranoiabla at gmail.com>
> wrote:
>
>> Hi guys,
>>
>> I just tried the latest beta and I cannot compile my project. With the
>> latest hibernate 4.3.X I was able to do this:
>> -------
>>         final org.hibernate.cfg.Configuration configuration =
>> getHibernateConfiguration();
>>         configuration.buildMappings();
>>         final SchemaUpdate schemaUpdate = new SchemaUpdate(configuration);
>> -------
>>
>> however it seems that the SchemaUpdate constructor has been removed and
>> now
>> a new one is added:
>> --------
>>     public SchemaUpdate(MetadataImplementor metadata) {
>>         this( metadata.getMetadataBuildingOptions().getServiceRegistry(),
>> metadata );
>>     }
>> ---------
>>
>> Also the configuration.buildMappings() method has been deprecated. Where
>> do
>> I get the MetadataImplementor from? Also is there any changelog I can
>> refer
>> to?
>>
>> Thanks.
>> --
>> Regards, Petar!
>> Karlovo, Bulgaria.
>> ---
>> Public PGP Key at:
>> https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
>> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>
>


More information about the hibernate-dev mailing list