Hibernate Coda.
After monkeying around with my model in the oh-so-glorious-and-yet-amazingly-unmaintained Together/J, I managed to get Hibernate to emit exactly the SQL that I wanted. My joining table has the extra properties that I wanted. The Java model of it is still kind of ugly, but c'est la vie.
Maybe the extra object I ended up with is a good idea after all. It just seems like there should be another way.
With knowledge-based programming I can do this stuff easily, and have pattern-matched rules running across it all. I still predict that, say, ten years from now, pattern-based languages will begin to dominate. The patterns need to be able to match against everything, metadata and data. We have two good models for doing that -- LISP S-Expressions and CLIPS-style facts. I can live with either.
1:43:32 AM
|