Thanks, Shannon. I got it. Leon ----- Original Message ----- From: "Shannon Ewing" <[EMAIL PROTECTED]> To: "'OJB Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 3:30 PM Subject: RE: show debug info problem
> You will need to get the source and compile it. PoorMansLoggerImpl is > located in the CVS tree at src/java/org/apache/ojb/broker/util/logging You > may want to just get latest on everything and recompile/jar if possible. > > -----Original Message----- > From: Leon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2003 2:20 PM > To: OJB Users List > Subject: Re: show debug info problem > > > Hi Shannon, > > Yes, my LoggerClass is set to PoorMansLoggerImpl of version 1.0.rc3. I > logged in to CVS, but I only found db-ojb OJB_1_0_RC2. Would you find RC3 on > the CVS? > > Leon > > ----- Original Message ----- > From: "Shannon Ewing" <[EMAIL PROTECTED]> > To: "'OJB Users List'" <[EMAIL PROTECTED]> > Sent: Tuesday, June 03, 2003 2:16 PM > Subject: RE: show debug info problem > > > > Had a simular problem. Assuming your LoggerClass attribute in the > > OJB.properties is set to use PoorMansLoggerImpl, you will need to download > > the latest PoorMansLoggerImpl from CVS. There have been several fixes to > it. > > Once I did that, I got the expected output again. > > > > -----Original Message----- > > From: Leon [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 03, 2003 12:27 PM > > To: OJB Users List > > Subject: show debug info problem > > > > > > Hi, > > > > I had set > > > org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl.LogLevel=DEBUG > > , but I still could not see the SQL code generated by OJB. The code is > > > > broker = ServiceLocator.getInstance().findBroker(); > > RegistryVOBean registry = new RegistryVOBean(); > > registry.setEmail(primaryKey); > > Query query = new QueryByCriteria(registry); > > RegistryVOBean retrieved = (RegistryVOBean)broker.getObjectByQuery(query); > > if (retrieved == null){ > > UserNotExistingException ex = new UserNotExistingException(primaryKey + > "is > > not existing!"); > > throw new DataAccessException(primaryKey + "is not existing.", ex); > > } > > logonVo = new LogonVOBean(); > > logonVo.setEmailAddress(retrieved.getEmail()); > > logonVo.setPassword(retrieved.getPassword()); > > > > Any other settings should I make? > > > > Cheers > > Leon > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > +---------------------------------------------------------+ > > This message may contain confidential and/or privileged information. If > you > > are not the addressee or authorized to receive this for the addressee, you > > must not use, copy, disclose or take any action based on this message or > any > > information herein. If you have received this message in error, please > > advise the sender immediately by reply e-mail and delete this message. > > Thank you for your cooperation. > > +---------------------------------------------------------+ > > > > --------------------------------------------------------------------- > > 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] > > > +---------------------------------------------------------+ > This message may contain confidential and/or privileged information. If you > are not the addressee or authorized to receive this for the addressee, you > must not use, copy, disclose or take any action based on this message or any > information herein. If you have received this message in error, please > advise the sender immediately by reply e-mail and delete this message. > Thank you for your cooperation. > +---------------------------------------------------------+ > > --------------------------------------------------------------------- > 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]
