--- "Raible, Matt" <[EMAIL PROTECTED]>
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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to