On Fri, 26 Oct 2001 02:22, Jon Stevens wrote: > on 10/24/01 5:52 PM, "Peter Donald" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I noticed that > > > > Criteria crit = new Criteria(); > > crit.add (ItemPeer.CATEGORY_ID,2); > > Vector v = ItemPeer.doSelect (crit); > > > > would fail if ItemPeer is not associated with non-default database. Would > > it be better that somewhere in ItemPeer.doSelect() that criteria had a > > setDbName that set it to db that the ItemPeer is associated with ? (or > > maybe only if dbName is null or something) > > I believe so. > > FYI, I'm not sure that there is a whole lot of people using multiple > databases (I know John isn't), so using multiple databases in production is > probably largely untested.
thanks for the heads up. I may rework my product then ;) -- Cheers, Pete "The ability to quote is a serviceable substitute for wit." -- Maugham --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
