From: Konstantin P. <kpr...@ya...> - 2002-12-30 16:56:38
|
--- "Raible, Matt" <Mat...@ca...> wrote: > I apologize for the cross-post, but I feel this > applies to both Hibernate > and XDoclet. If I should only post to one list in > the future - let me know > which one is appropriate. > > I have four common audit fields in a number of my > classes: > > private String createdBy; > private Date dateCreated; > private String changedBy; > private Date dateChanged; > > Can I put these in a BaseObject class and somehow > use it with > Hibernate/XDoclet, or do I need to specify these in > each class? Try it :) I commited patches today to let hibernate subtask to look in the superclasses for properties and other stuff. regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |