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-migrat...
As far are the new bootstrapping apis, see
http://docs.jboss.org/hibernate/orm/5.0/topical/html/bootstrap/NativeBoot...
and
http://docs.jboss.org/hibernate/orm/5.0/topical/html/bootstrap/LegacyBoot...
On Tue, Mar 31, 2015 at 5:07 PM, Petar Tahchiev <paranoiabla(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev