On Thu, Jul 23, 2009 at 11:02 AM, C N Davies <[email protected]> wrote:
> I might be thinking in the wrong direction so feel free to berate me if I > am. > I'd like to berate you for building a self-modifying system, but I've done it myself, so I won't. I do have a project (not the self-modifying one) that has a need for adding "custom properties" to an entity. The entity has its core properties in the main table, then a list of custom properties in another table. Custom properties have a "definition" that describes datatype, presentation order and whatnot. In my pre-JPA system, presenting such an entity would involve a "pivot" on the custom properties. This is also required for JPA but you get it for "free" in that the custom property values come into the collection and it's easy enough to work with it in the rendering layer. I'm looking for ways to improve my solution, so don't think I'm proposing it as an alternative to yours. I am interested in how my solution would not work for you. -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com mailto:[email protected]
