Found the problem..... After sleeping a couple of hours .... :-/ The issue was that I defined dynamic proxy in my repository.xml so it was retrieving a proxy instead of my own class..... Now I have to do some more reading on proxies......
Thanks for the replies Sam -----Original Message----- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 1:32 AM To: OJB Users List Subject: Re: Problem retrieving class Good morning Sam, please could you post more info? OJB version? Example code (with select)? class structure of Account? stack trace? We aren't clairvoyants. Maybe your problem blow over after sleeping ;-) regards, Armin ----- Original Message ----- From: "Saman Ghodsian" <[EMAIL PROTECTED]> To: "'OJB Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 9:57 AM Subject: Problem retrieving class > Hi there, > > It's late and I've been trying to do this for a while so I'll just post > this message hoping I get a reply in the morning.... > > > I have a class structure, everything works fine when I store the objects > in DB, but after doing a select and trying to cast the object to my type > I get a classCastException > > i.e > > Account acc = (Account) result.get(0); > > > Any ideas? Thanks > > Sam > > > --------------------------------------------------------------------- > 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]
