On 10/19/07, satz <[EMAIL PROTECTED]> wrote: > I'd been reading through the code for the platformImplBase class. I found it > very strange that all the methods (almost...) make internal calls to read > the database!!!. Why do we really need to hit the DB every time, when we > already have the API exposed to the users "readModelFromDatabase()"? To tell > you I dont feel that's alright, since reading the whole schema again and > again would be a vrey heavy operation. What I think we should have is > provide additional API for accepting "Database" object acquired initially by > the programmer from the readModel API. I kno that there would be some > purpose of releasing the API and I'm not questioning the Code, but just that > m application runs very slow:(...
You're right in that the get???Sql methods should not touch the database at all, and in fact the next version will remove this behavior. That being said, please post a snippet of your code that you think runs slowly, so I can give you some advice on how to make it run faster if possible. Tom
