Re: DB class, MySQL and nextId()
| From: | Chris Boget | Date: | Fri, 16 Apr 2004 11:55:08 +0000 |
| Subject: | Re: DB class, MySQL and nextId() | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11906@lists.php.net to get a copy of this message | ||
> If you want abstraction then I guess you will just have to trust that we
> know what we are doing.
Then I would be very interested in learning how, during the development
of PEAR DB, you envisioned the sequence functionality working when
used against a table using auto_increment and having pre-existing records?
W/o the need to go back and refactor all the existing code to use PEAR
DB...
> I am not aware that Java even bothers to abstract this sort of thing ..
> anyways I dont see where we are to blame for this fact.
I don't see that you are to blame either, per se. But since each RDBMS
has it's own driver class, I don't see why the functionality wasn't
developed
to take into consideration each RDBMS' individual quirks.
> If I sound a bit miffed it might be a result of the fact that none of
> you have bothered to search the archives or have tried to keep a polite
> tone in your questions.
If I came across as impolite, I apologize. I was frustrated after trying
many
different work arounds that didn't really work w/o becoming really cludgy.
Chris