Override methods ? What do you mean - the mapping is all about properties ?
You can easily override methods, but you can't change the definition of a property.
/max
Matt Dowell wrote:
Max,
Thanks for the reply, I have downloaded 2.1 and am looking at it right now. One thing isn't clear, can we override methods from the parent mapping file? Thanks.
Matt
-----Original Message-----
From: Max Rydahl Andersen [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 3:20 PM
To: Matt Dowell
Cc: [EMAIL PROTECTED]
Subject: Re: [Hibernate] Extending hbm files externally...
This is already possible in hibernate 2.1
/max
Matt Dowell wrote:
We are splitting out application into two separate databases (buyer and
seller) but 80% of the tables and colums (and code) are the same, so we
end up having a CORE library and a Seller and Buyer EAR.
Is there any way to subclass a mapping file externally? i.e..
<class ="my.core.lib.Invoice"> .... </class>
<class ="my.buyer.invoice.Invoice" extends="my.core.lib.Invoice"> ... </class>
If not, any plans to add this? I realize out situation falls into the 5% or less category. Thanks.
Matt Dowell Notiva Corp.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________
hibernate-devel mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
