Hello everybody,
This is the context :
I've two class DomainObject and Person
package framework.model;
public class DomainObject {
private Long id;
/**
* @hibernate.id generator-class="increment"
*/
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
}
package personne.model;
public abstract class Personne extends DomainObject {
........
}
The DomainObject class is packaging in a jar called framework.jar, and now when I use a ant build to compiled the Personne in another class I have this error :
[hibernatedoclet] (XDocletMain.start 54 ) <<Class personne.model.Personne misses ID property>>.
If my understanding is good enougth, it means that when I make the framework jar, in the class we loose the xdoclet hibernate ...
Is it possible to do this with HibernateDocletTask ??!!! We want a separation from framework and the application code, but if not possible I put DomainObject in the same application jar ;-((
Thank's for helping me
Have a goo day
Bruno
|