----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
on 11/29/99 5:39 PM, Chris Busch <[EMAIL PROTECTED]> wrote:
> I think Village is a great start.
I don't think that you realize where Village comes from. It is a clone of a
commercial product. dbKona from BEA/Weblogic. I don't take credit for it
other than the fact that I re-implemented it from scratch.
> But there are still 5 lines of code compared to 1. Hash tables are very
> powerful, people should use them more often.
> I would just suggest adding another layer on top of Village to really stream
> line things.
> Just be sure to use the meta information to deduce which columns are in the
> table, ie make sure the appropriate setValues happen.
Already done...that is a large part of what the Turbine project is all
about. Take a look at the BasePeer.
<http://java.apache.org/turbine/>
> The trouble with using setValue's is that apparent in this situation. After
> months of development, another column is added to a table. You now have to
> add additional setValues for the new columns, every time there is an update
> or insert.
See above comments.
> We try to built our database manipulation routines to accept Hashtables.
> This allows the function to pass along column values it doesn't care about.
> Consequently, when new columns are added to a table, nothing breaks and that
> column is passed along gracefully.
See above comments.
> Of course you could just make an object for every table. But at times that
> becomes overkill. And even then, you have to worry about not preserving
> additional columns.
See above comments.
p.s. when replying to email, remove the portions that are
unnecessary...including the footers of the messages.
-jon
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]