Hi Andrew,

I don't actually know if the OJB gang has considered the changes your
referring to.  The people to ask are probably Jakob, Armin, or Thomas.

As for the Sybase thing, you might submit that separately in an email
with [BUGFIX] in the subject as it might get ignored in this thread.

J

On Thu, 2004-03-11 at 16:18, Andrew Wilson wrote:
> Thank you Jason, that fixes it.  My friend (who was running on Linux) had found
> the fix and forgotten about it.  Apologies.
> 
> A couple more questions :
> 
> - In the ODMG Implementation I wrote (for a bank in London a couple of years
> ago) we were able to make a number of optimizations.
> 
> 1. Contract to read the resultsets in column order (ie. 1,2,3).  It was then
> possible to set a Sybase property which speeded things up by about 10%.
> 
> 2. I noticed that OJB seems to only use one of my processors.  When we had
> pulled our ResultSet back the job of processing the rows into objects could be
> done in parallel with a couple of threads.  Generally gave an n times
> improvement.
> 
> Have such things been thought about for OJB yet?
> 
> Also, I noticed a bug in RC5 (which someone else on the UserList confirmed at
> the time). 
> 
> C:\db-ojb-1.0.rc5\src\java\org\apache\ojb\broker\platforms\PlatformSybaseImpl
> 
> Line 101 should be removed/commented out.  As it says that fix is for SybaseASA
> (and breaks for Sybase).
> 
>   
> Kindest regards,
> Andrew.
> 
> On Thu, 11 Mar 2004 15:54:09 -0800, Jason McKerr wrote:
> 
> > 
> > Also, I was able to duplicate your error message using an incorrect
> > constructor.  I'm not sure why it would have worked for you on linux.
> > 
> > Unfortunately the constructor on the HOW-TO that I wrote is incorrect
> > and out of synch with the OJB version API.  The API Changed, and I
> > forgot to tell Armin to update the page, but I didn't bother with it
> > because at the time 1.0 was supposed to come out.
> > 
> > Anyway your constructor probably looks like (as shown in how-to):
> > 
> > public ObjectCacheOSCacheImpl(PersistenceBroker broker) 
> > {
> > }
> > 
> > And it should be (as in the new RC5 API):
> > 
> > public ObjectCacheOSCacheImpl(PersistenceBroker broker, Properties prop)
> > {
> > }
> > 
> > Hope this helps, if not then send me that other stuff I asked about in
> > the last mail and I'll see what we can find.
> > 
> > -- 
> > Jason McKerr
> > The Open Source Lab
> > Oregon State University
> > Phone: 541.737.9923
> > Email: [EMAIL PROTECTED]
> > "Open Minds. Open Doors. Open Source."
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to