• 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..
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!