Just Fun 4 You wrote:
Hello Armin,
unfortunately no. The error did not pop up again. As I said it comes once a
while so I suspect some misconfiguration in my settings!? I do not even know
what this message "error reading class type" is all about. Maybe you have an
idea?
only says that an error occur while reading field values from the ResultSet. As I said in my previous mail, the nested exception stack trace was missed, so we can only speculate what's the underlying problem. Maybe you set a wrong column name in one field of de.person.entity.Person.
regards, Armin
Sven
-----Urspr�ngliche Nachricht-----
Von: Armin Waibel [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 21. Februar 2004 11:24
An: OJB Users List
Betreff: Re: PersistenceBrokerException: Error reading class type
Hi Sven,
sorry, this snip of the stack trace doesn't help much.
Could you please post the whole stack trace. The problem pop up in RowReaderDefaultImpl, but the stack trace ends here. Do you use a field-conversion class for one or more fields of de.person.entity.Person?
regads, Armin
Just Fun 4 You wrote:
Hi,
every now and then I get the following exception message:
[org.apache.ojb.broker.accesslayer.RsIterator] ERROR: Error while iterate Result Set for query org.apache.ojb.broker.accesslayer.RsQueryObject[query: Query from class de.person.entity.Person where [PERSON_ALIAS = LEBE88 ], class
descriptor: de.person.entity.Person]
Error reading class type: de.person.entity.Person from result set org.apache.ojb.broker.PersistenceBrokerException: Error reading class
type:
de.person.entity.Person from result set at org.apache.ojb.broker.accesslayer.RowReaderDefaultImpl.readObjectArray From(U nknown Source) at org.apache.ojb.broker.accesslayer.RsIterator.getObjectFromResultSet(U nknown Source) at org.apache.ojb.broker.accesslayer.RsIterator.next(Unknown
Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.getObjectByQuery(Unkn own Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuer y(Unkn own Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuer y(Unkn own Source)
I use OJB PB on a DB2 database and declared the SequenceManagerNativeImpl in the connection-descriptor. The error pops up once a while. I wonder what happens here. Any idea?
Sven
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
