Kristian, > since DO is almost what prepared statements are for jdbc, it was easy > to use prepared statements for do_jdbc classes. > > the only thing I do not understand is what the "new feature" prepared > statements means. what do I miss ?
The DO adapters use that interface, yes, but they are only "prepared" within the driver. It quotes the statement itself, replacing the bind values, and sends the entire query to the DB. Now, that's necessary for some databases, but, of course, many support the preparing and binding DB side -- which is obviously much better. DO also does not currently have any form of add/executeBatch, which, in conjunction with true prepared statements, would be really useful. > from what I understand until know I have the feeling switching DO to > mimic/emulate a subset of jdbc would be quite neat. I think so, too. Bernerd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to datamapper@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---