On Thursday 26 June 2003 14:48, Srikanth Gubba wrote: > "ObjectCacheEmptyImpl" is not in the older version , so I have updated the > OJB binary from their site, but the newer version doesnot have the classes > org.apache.ojb.broker.query.QueryByExample;/// (the new one might be > QueryByIdentity();// > and > PersistenceBrokerFactory.createPersistenceBroker(); /// (the new one might > be defaultPersistenceBroker();// > > Even after changing, I could not get them to compile since it is giving me > errors > incompatible throws list; found: > org.apache.ojb.broker.PersistenceBrokerException, required: > java.lang.Throwable at line > MessageResource m = (MessageResource)broker.getObjectByQuery(qry); > > i tried but could not figure out what to do.....does anyone has any idea > what this might be?
Sorry you're having trouble with it. Right now I'm rewriting this extension to use the latest and greates from OJB. I hope to finish by tonight. I'll let you know. > > Thanks, > srikanth. > > > -----Original Message----- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2003 1:36 PM > To: Struts Users Mailing List > Subject: Re: Message Resources example using OJB > > On Thursday 26 June 2003 13:30, James Mitchell wrote: > > On Thursday 26 June 2003 11:25, Hookom, Jacob wrote: > > > Check source forge www.sf.net, I think James from this list created > > > one about 6 months ago and he was very happy with the performance of > > > it. > > > > That is the one Srikanth is speaking about. We had an off-line > > discussion about caching, and I just wasn't able to help. I know enough > > about OJB to get this implementation to work. Deeper configuration is up > > to the developer. > > > > The only thing I can suggest is to change ObjectCacheClass to use > > org.apache.ojb.broker.cache.ObjectCacheDefaultImpl in your OJB.properties > > ...sorry, that was supposed to "ObjectCacheEmptyImpl", but now that I think > about it, you may need to upgrade OJB to a newer version to get that class. > > > file. > > > > Good luck with it. > > > > > -----Original Message----- > > > From: Srikanth Gubba [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, June 26, 2003 9:37 AM > > > To: '[EMAIL PROTECTED]' > > > Subject: Message Resources example using OJB > > > > > > Hi all, > > > > > > Has anyone tried and used Message Resources example using OJB which > > > can be used to place the application properties in a database instead > > > of a properties file. If anyone has tried this, can u help me know what > > > to do when a property is changed in the database, at present i am > > > having to reload the application. Is there any way around this so that > > > the application reads the properties dynamically. > > > > > > Thanks in adv, > > > srikanth. > > > > > > --------------------------------------------------------------------- > > > 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] -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]