-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Eclipse Indigo, how to autogenerate Entity Meta Model
PostPosted: Thu Mar 08, 2012 7:26 am 
Newbie

Joined: Thu Mar 08, 2012 7:10 am
Posts: 2
I have read this on how to auto-generate the Entity Meta Model, but I think there is something wrong.

I have: Eclipse Indigo SR2, build 20120216-1857 and configured the "Annotation Processor" as specified http://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/. To the factory path I have added ONLY these jars

hibernate-jpamodelgen-1.2.0.Final.jar (taken from here)
hibernate-jpa-2.0-api-1.0.1.Final.jar (taken from the zip archive of Hibernate ORM 4.1.0 from here)

I suppose after configuring this for my the EJB project (I did not do that for my Web or EAR Project), the project gets rebuild and the Meta Model Classes will be autogenerated, without clicking on another button, is that right?

If everything should have worked, do you have any clues on what could go wrong? Notes:

I see absolutely no messages from any annotation processors in the "Error Log" Eclipse View.
My persistence.xml file is in the ejbModule/META-INF/persistence.xml
All my entities extend an Abstract class, imported in the project with svn:externals.
My entities are annotated with @Entity, and that's all.


Top
 Profile  
 
 Post subject: Re: Eclipse Indigo, how to autogenerate Entity Meta Model
PostPosted: Fri Mar 09, 2012 12:59 pm 
Newbie

Joined: Thu Mar 08, 2012 7:10 am
Posts: 2
Problem is described here: http://stackoverflow.com/questions/9614 ... el/9631542 . It is a Project Setup Problem (it has AspectJ support), and not hibernate Model generator.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.