RE: Default Cache - bug? design catostrophe? user error?

2003-04-01 Thread Scott Howlett
Could you flush the cache whenever you rollback a transaction? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 1:37 PM To: [EMAIL PROTECTED] Subject: Default Cache - bug? design catostrophe? user error? Consider this: I'm uing ObjectCac

RE: Dynamic proxy

2003-03-27 Thread Scott Howlett
I use dynamic proxies all over the place without any problems. But my data classes are only made available to clients via a published set of interfaces - they clients never see or try to access the real classes, so they never see any difference when they are using a proxy instead of the real class

RE: Webapp google queries: What is a good way to present multiple web pages with query results ?

2003-03-24 Thread Scott Howlett
tIndex; } return stmt; } } Hope that helps, Scott Howlett -Original Message- From: Theo Niemeijer [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 5:08 AM To: OJB Users List Subject: Webapp google queries: What is a good way to present multiple web pages with q

Patch for TransactionImpl.assertFkAssignment

2003-03-11 Thread Scott Howlett
er) Proxy.getInvocationHandler(ref); refInstance = ih.getRealSubject(); /* Begin patch */ if (refInstance == null) { refInstance = objectEnvelopeTable.getByIdentity(ih.getIdentity()).getObject(); } /* End patch */ } ... Regards, Scott Howlett Scott H

RE: Possible Broker query bug?

2003-03-08 Thread Scott Howlett
I would also be interested to know whether this is considered to be a bug. I mentioned it a while back: http://archives.apache.org/eyebrowse/[EMAIL PROTECTED] pache.org&msgId=613222 but never heard anything more. Regards, Scott Howlett -Original Message- From: V.B. Skrypnyk [ma

RE: Why is OJB inserting null on one field?

2003-03-04 Thread Scott Howlett
Another helpful thing to know is that PersistenceBroker.retrieveReferences(myObject) will automatically update any reference objects attached to myObject from the corresponding foreign key ID fields. -Original Message- From: C F [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:

RE: Limiting a number of rows returned

2003-02-26 Thread Scott Howlett
tIndex; } return stmt; } } Hope that helps, Scott Howlett -Original Message- From: Max Vesely [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 10:27 PM To: [EMAIL PROTECTED] Subject: Limiting a number of rows returned Hi, Does anyone know how to

RE: Bug in PersistenceBroker.getCount() ?

2003-02-26 Thread Scott Howlett
lated into column-name by the SqlGenerator., so there should be no need to specify it in getCount(). jakob Scott Howlett wrote: >I just changed my database schema such that one of my tables now has a >primary key field whose name is different than the column name in the >database. &g

More on bug when PK field name != column name

2003-02-25 Thread Scott Howlett
ble() + "." + itemClassFks[i].toString(), refCld.getPkFields()[i].getAttributeName()); } I believe getAttributeName should be changed to getColumnName since the data is being stuffed into a column-equality Criteria. Regards,

Bug in PersistenceBroker.getCount() ?

2003-02-25 Thread Scott Howlett
Should the above getAttributeName() calls should be replaced with getColumnName() instead? Regards, Scott Howlett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Intersection queries and subquery attributes

2003-02-25 Thread Scott Howlett
grandparent query. Thanks, Scott Howlett PS - To explain a bit more, here's a simplified version of what I'm trying to do. Represent access privileges between users and documents: - Users can be in groups, documents can also be in groups - Entitlement is specified either directl