Re: [hibernate-dev] Hbm mapping with hibernate 4

2011-11-28 Thread Steve Ebersole
Correct. On Mon 28 Nov 2011 06:25:44 AM CST, Max Rydahl Andersen wrote: > >> As mentioned in the migration guide, MetadataSources (in fact all of >> o.h.metamodel) is still a work in progress and not for usage... >> >> http://community.jboss.org/wiki/HibernateCoreMigrationGuide40 > > So for Hiber

Re: [hibernate-dev] Hbm mapping with hibernate 4

2011-11-28 Thread Max Rydahl Andersen
> As mentioned in the migration guide, MetadataSources (in fact all of > o.h.metamodel) is still a work in progress and not for usage... > > http://community.jboss.org/wiki/HibernateCoreMigrationGuide40 So for Hibernate 4.0 there are no changes in how xml is used/defined ? All based on the "ol

Re: [hibernate-dev] Hbm mapping with hibernate 4

2011-11-25 Thread Steve Ebersole
As mentioned in the migration guide, MetadataSources (in fact all of o.h.metamodel) is still a work in progress and not for usage... http://community.jboss.org/wiki/HibernateCoreMigrationGuide40 On Thu 24 Nov 2011 06:55:06 AM CST, Max Rydahl Andersen wrote: > For hibernate guys: to be clear, wh

Re: [hibernate-dev] Hbm mapping with hibernate 4

2011-11-24 Thread Max Rydahl Andersen
For hibernate guys: to be clear, what Dmitry is working on is to test and develop support in hibernate tools / jboss tools to work with both Hibernate 3.x and Hibernate 4. The docs/migration guide doesn't seem to cover these differences so asked him to raise the question on the list. /max On N

[hibernate-dev] Hbm mapping with hibernate 4

2011-11-23 Thread Dmitry Geraskov
Hey, guys, I created the simplest hbm mapping and try to build session factory(full project attached, Hibernate-core4.0.0.CR6): /new MetadataSources( new ServiceRegistryBuilder().configure() .buildServiceRegistry()).buildMetadata().buildSessionFactory();/