Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate & xdoclet wierdness

 
Ronan Dowd
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any issue with XDoclet and inheritance ?

Ive a class called A
I've another class B which inherits from A

When i run xdoclet on class B - should it automatically run the XDoclet tags in its superclass (ie in A)?

The XDoclet tags in my classes are hibernate ones. Class A represents a set of generic columns that are in each of my hibernate tables (these columns are createdBy and lastUpdated) so all my hibernate classes inherit from class A (to avoid cut and paste in each class)

Is there any issue with this anyone can see?

Other parts of my app have a scenario identical to the above and they work fine.

any help appreciated - thanks..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic