Re: ClassCastException with getObjectByIdentity()

2005-11-29 Thread Armin Waibel
Chris Worley wrote: In the following code I get a ClassCastException when querying for the PartyGroup or Person. PartyGroup and Person both extend Party. Party.partyTypeId will determine if the party is a person or party group. If the party is one of the two then I want to get the party gro

Re: ClassCastException with getObjectByIdentity()

2005-11-29 Thread Chris Worley
Armin, Hi Chris, Chris Worley wrote: In the following code I get a ClassCastException when querying for the PartyGroup or Person. PartyGroup and Person both extend Party. Party.partyTypeId will determine if the party is a person or party group. If the party is one of the two then I wa

Re: ClassCastException with getObjectByIdentity()

2005-11-29 Thread Chris Worley
I have found my problem. I was using the tag for in the descriptor for party referencing PartyGroup and Person. After removing the extent the correct instance is returned. -chris worley In the following code I get a ClassCastException when querying for the PartyGroup or Person. Party

Re: ClassCastException with getObjectByIdentity()

2005-11-29 Thread Armin Waibel
Hi Chris, Chris Worley wrote: In the following code I get a ClassCastException when querying for the PartyGroup or Person. PartyGroup and Person both extend Party. Party.partyTypeId will determine if the party is a person or party group. If the party is one of the two then I want to get

Re: ClassCastException in QueryReferenceBroker.

2004-10-20 Thread Jakob Braeuchi
n Thanks, Paul -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Sunday, October 17, 2004 9:33 AM To: OJB Users List Subject: Re: ClassCastException in QueryReferenceBroker. hi paul, i think this problem should disappear when usinf proxy-prefetching-limit = 0. see Query

Re: ClassCastException in QueryReferenceBroker.

2004-10-18 Thread Armin Waibel
EMAIL PROTECTED] Sent: Sunday, October 17, 2004 9:33 AM To: OJB Users List Subject: Re: ClassCastException in QueryReferenceBroker. hi paul, i think this problem should disappear when usinf proxy-prefetching-limit = 0. see QueryReferenceBroker#retrieveCollection ... if (

Re: ClassCastException in QueryReferenceBroker.

2004-10-18 Thread Jakob Braeuchi
ber 17, 2004 9:33 AM To: OJB Users List Subject: Re: ClassCastException in QueryReferenceBroker. hi paul, i think this problem should disappear when usinf proxy-prefetching-limit = 0. see QueryReferenceBroker#retrieveCollection ... if (prefetchProxies && (m

Re: ClassCastException in QueryReferenceBroker.

2004-10-18 Thread Armin Waibel
tive working on that instance. regards, Armin Thanks, Paul -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Sunday, October 17, 2004 9:33 AM To: OJB Users List Subject: Re: ClassCastException in QueryReferenceBroker. hi paul, i think this problem should disappear w

RE: ClassCastException in QueryReferenceBroker.

2004-10-18 Thread Nase, Paul R.
on version RC6. Plus we are wondering how thread safe this area of code is (in RC6)? Thanks, Paul -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Sunday, October 17, 2004 9:33 AM To: OJB Users List Subject: Re: ClassCastException in QueryReferenceBroker. hi paul

Re: ClassCastException in QueryReferenceBroker.

2004-10-17 Thread Jakob Braeuchi
hi paul, i think this problem should disappear when usinf proxy-prefetching-limit = 0. see QueryReferenceBroker#retrieveCollection ... if (prefetchProxies && (m_retrievalTasks != null) && (cds.getProxyPrefetchingLimit() > 0) <<

RE: ClassCastException when storing a Date

2004-05-27 Thread Ribi Roland
Use jdbc-type="TIMESTAMP" in the repository.xml for DATE-Fields and java.util.Date will work. If you use java.sql.Date you can only handle days and not the hours, minuts and seconds. Roland Ribi > -Original Message- > From: Marco José [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 26

RE: ClassCastException

2003-11-26 Thread oliver . matz
Hello, > -Original Message- > this is the exception stack trace : > > java.lang.ClassCastException: > edu.broglie.ws.dto.AppFlulog > at > edu.broglie.ws.dto.AppAppcli.equals(AppAppcli.java:65) your implementation of equals() does not fulfil the contract specified in the javadoc of

RE: Antwort: RE: ClassCastException with rc4

2003-09-03 Thread Stuart Heriot
Thanks Gerhard, Turning off "Reload classes on each run" did the trick. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 6:19 PM To: OJB Users List Subject: Antwort: RE: ClassCastException with rc4 Did you try turni

Re: ClassCastException with rc4

2003-09-03 Thread Clay Mitchell
Nope - first time I run it deploy the webapp, everything works fine. If I redeploy, everything dies. -Clay jean-pierre lerbscher wrote: Hi, Could you make sure that you do not have several times the same jar file in your classpath. A few times ago I had a similar problem where an exception stat

Antwort: RE: ClassCastException with rc4

2003-09-03 Thread Gerhard . Grosse
. Gerhard Stuart Heriot <[EMAIL PROTECTED]> 03.09.2003 09:53 Bitte antworten an "OJB Users List" An: 'OJB Users List' <[EMAIL PROTECTED]> Kopie: Thema: RE: ClassCastException with rc4 Thanks, I've been over my classpat

RE: ClassCastException with rc4

2003-09-03 Thread Stuart Heriot
al Message- From: jean-pierre lerbscher [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 5:49 PM To: OJB Users List Subject: Re: ClassCastException with rc4 Hi, Could you make sure that you do not have several times the same jar file in your classpath. A few times ago I had a similar pro

Re: ClassCastException with rc4

2003-09-03 Thread jean-pierre lerbscher
Hi, Could you make sure that you do not have several times the same jar file in your classpath. A few times ago I had a similar problem where an exception stated to me wrongly that a class did not implement an interface. It was a problem with multiple class loaders. Clay Mitchell wrote: I get

Re: ClassCastException with rc4

2003-09-02 Thread Clay Mitchell
I get this also, after I reload my webapp in Orion. -Clay Stuart Heriot wrote: Hi, Since installing rc4 I've been unable to run some jUnit tests I previously had working with 0.9.8. Error log is below. I am running the Junit TestRunner gui from the command line. Running through Netbeans causes

RE: ClassCastException persisting Date field

2003-02-25 Thread Mark Rowell
John You may need to use a FieldConversion on the relevant field(s)/columns(s) e.g Mark -Original Message- From: O'Reilly John [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:38 AM To: 'OJB Users List' Subject: ClassCastException persisting Date field Hi, Is the

Re: ClassCastException in OJB 0.9.9 with Oracle 9i

2003-02-24 Thread Armin Waibel
Hi Lucy, - Original Message - From: "Lucy Zhao" <[EMAIL PROTECTED]> To: "'OJB Users List'" <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 5:37 PM Subject: RE: ClassCastException in OJB 0.9.9 with Oracle 9i > Armin: > > SequenceMan

RE: ClassCastException in OJB 0.9.9 with Oracle 9i

2003-02-21 Thread Andrew Gilbert
/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgNo=3696 Andy -Original Message- From: Lucy Zhao [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 11:38 AM To: 'OJB Users List' Subject: RE: ClassCastException in OJB 0.9.9 with Oracle 9i Armin: SequenceManagerHighLowImpl is

RE: ClassCastException in OJB 0.9.9 with Oracle 9i

2003-02-21 Thread Lucy Zhao
much! Lucy -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 11:27 AM To: OJB Users List Subject: Re: ClassCastException in OJB 0.9.9 with Oracle 9i Hi Lucy, there is bug in field conversion when the field is a primay key. Then it seems

Re: ClassCastException in OJB 0.9.9 with Oracle 9i

2003-02-21 Thread Armin Waibel
TED]> Sent: Friday, February 21, 2003 4:42 PM Subject: RE: ClassCastException in OJB 0.9.9 with Oracle 9i > I have three java data types in the object. The mappings are the following: > String - VARCHAR - VARCHAR2 > int - INTEGER - NUMBER > bo

RE: ClassCastException in OJB 0.9.9 with Oracle 9i

2003-02-21 Thread Lucy Zhao
ll correct mappings. But it does seem like a data conversion problem. Could it be a bug? Thanks, Lucy -Original Message- From: Andrew Gilbert [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 10:17 AM To: OJB Users List Subject: RE: ClassCastException in OJB 0.9.9 with Oracle 9i Wha

RE: ClassCastException in OJB 0.9.9 with Oracle 9i

2003-02-21 Thread Andrew Gilbert
What are some specifics for class and meta data in your scenario? Could it be an issue with the data type your are mapping? http://db.apache.org/ojb/jdbc-types.html -Original Message- From: Lucy Zhao [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 10:04 AM To: OJB Users List