-->
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.  [ 1 post ] 
Author Message
 Post subject: Metamodel Generator doesn't work in 2 modules
PostPosted: Fri Nov 12, 2010 5:22 am 
Newbie

Joined: Fri Nov 12, 2010 4:58 am
Posts: 2
When entities are in more than one module.
For instance I have abstract base entity class let's say: "AbstractEntity" in module A and other entities extending this base entity class in module B.
When I build module B by maven than generator doesn't create metamodel for AbstractEntity_ and metamodel in modules B doesn't extend the AbstractEntity_.
It seems that the generator plugin doesn't see classes from external module.
All references in pom.xml are correct.
The problem is that entity: AbstractEntity (in module A) has id property and as the consequence metamodel classes in module B don't have property id because they don't extend AbstractEntity_.
Is there any way to solve it ?


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

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.