Are you trying to set a column which has the value null into a primitive type such as an int?
Anders
Hermansen To: [EMAIL PROTECTED]
<anders@yoyo. cc:
no> Subject: Metadata exception when querying
table
20/12/2002
01:42
Please
respond to
"OJB Users
List"
Hello,
I'm still fighting to get this ojb beast to work, and I now have it
actually working in some cases :)
But if I try to fetch data from a table which has foreign keys, I get
some trouble.
The error message is:
[org.apache.ojb.broker.accesslayer.RsIterator] ERROR: Unable to build
object instance (MAYBE you don't have a constructor available):class
no.yoyo.pdfmaker.ojb.Customers: Error setting field:id in
object:no.yoyo.pdfmaker.ojb.Customers
I have attached the test code and the exception.
Anybody knows what is going wrong?
Do I need to supply more info? repository.xml?
Anders
--
Anders Hermansen
YoYo Mobile as
(See attached file: TestOjb.java)(See attached file: ojb_exception.txt)--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
TestOjb.java
Description: Binary data
ojb_exception.txt
Description: Text - character set unknown
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
