on 6/12/01 7:51 PM, "Daniel Rall" <[EMAIL PROTECTED]> wrote:

> [Jason and I discussed this on IRC, but I might as well post my
> response for posterity.]
> 
> I'm not especially keen on using the ID broker.  I would rather have
> the native autoincrement/sequence functionality of the database I'm
> using available transparently.  Does anyone know of a database which
> supports both autoincrement and sequence?  If not, I propose that this
> be just another property mapped by the database-specific db.props
> file.  If either "autoincrement" or "sequence" are found in a XML
> schema, Torque will resolve them against what is appropriate for the
> configured database.  Thoughts?
> 
> Daniel

Yes. That sounds like the right way to do things. The XML file is supposed
to be a relatively generic way to define things. Using the Connection pool
and the fact it knows what database it is talking to is the right way to do
it.

-jon

-- 
"Open source is not available to commercial companies."
            -Steve Ballmer, CEO Microsoft
<http://www.suntimes.com/output/tech/cst-fin-micro01.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to