On Apr 21, 2008, at 11:22 AM, Florijan Stamenkovic wrote:

Hi all,


I'm working on a fairly complicated piece of database engineering, and wondering about the techniques of overriding flattened attributes / relationships in inheritance trees. What I might need to do is flatten a

Entity1 ->> Entity2-> @sum -> Attribute

in a supertype, but override that in certain subclasses into

Entity1 ->> children(Entity1) ->> Entity2-> @sum -> Attribute

Is it possible to do this in the model? I've never tried, my guess is not, in that case, is it OK to simply do it in Java?


I don't know if you can do that in the model (the @sum) or not. Also, flattened attributes can have inconsistency problems. I'd lean towards the Java solution.

Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to