Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Blank hibernate.hbm.xml?
[Teneo] Blank hibernate.hbm.xml? [message #79296] Tue, 10 April 2007 17:07 Go to next message
Eclipse UserFriend
Hi folks,

I created an model in RSA, exported it to Ecore, and opened it up in Teneo
0.8.0. When I try to generate a Hibernate mapping it works without errors,
but the resulting hibernate.hbm.xml is blank.

I am totally new to both EMF, Teneo, and Hibernate, but I can see that the
model "has stuff in it".

Any thoughts on what I'm doing wrong here?
Re: [Teneo] Blank hibernate.hbm.xml? [message #79312 is a reply to message #79296] Tue, 10 April 2007 17:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi Grant,
Does the error log (windows>show view>error log) show any errors?

The project which contains the generated model code needs to have org.eclipse.emf.teneo.hibernate
plugin in its dependencies. Also the hibernate jar plugin should be listed here.

gr. Martin

Grant Rettke wrote:
> Hi folks,
>
> I created an model in RSA, exported it to Ecore, and opened it up in Teneo
> 0.8.0. When I try to generate a Hibernate mapping it works without errors,
> but the resulting hibernate.hbm.xml is blank.
>
> I am totally new to both EMF, Teneo, and Hibernate, but I can see that the
> model "has stuff in it".
>
> Any thoughts on what I'm doing wrong here?


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] Blank hibernate.hbm.xml? [message #79850 is a reply to message #79312] Fri, 13 April 2007 09:44 Go to previous message
Eclipse UserFriend
Hi Martin,

I did not first generate the Java code for my model.

After doing so, the mapping was generated correctly.
Re: [Teneo] Blank hibernate.hbm.xml? [message #604599 is a reply to message #79296] Tue, 10 April 2007 17:11 Go to previous message
Eclipse UserFriend
Hi Grant,
Does the error log (windows>show view>error log) show any errors?

The project which contains the generated model code needs to have org.eclipse.emf.teneo.hibernate
plugin in its dependencies. Also the hibernate jar plugin should be listed here.

gr. Martin

Grant Rettke wrote:
> Hi folks,
>
> I created an model in RSA, exported it to Ecore, and opened it up in Teneo
> 0.8.0. When I try to generate a Hibernate mapping it works without errors,
> but the resulting hibernate.hbm.xml is blank.
>
> I am totally new to both EMF, Teneo, and Hibernate, but I can see that the
> model "has stuff in it".
>
> Any thoughts on what I'm doing wrong here?


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] Blank hibernate.hbm.xml? [message #604740 is a reply to message #79312] Fri, 13 April 2007 09:44 Go to previous message
Eclipse UserFriend
Hi Martin,

I did not first generate the Java code for my model.

After doing so, the mapping was generated correctly.
Previous Topic:Remove whitespaces from generation
Next Topic:Problem mapping many-to-many relationship
Goto Forum:
  


Current Time: Thu Jun 05 14:02:42 EDT 2025

Powered by FUDForum. Page generated in 0.03182 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top