You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Aldo Luis Aguirre <ag...@y2knetworks.com.ar> on 2004/07/16 21:55:18 UTC

problems with PB tutorial and mysql

Hi!
    I'm having troubles using the org.apache.ojb.tutorials.PBExample,
the others tutorials works fine, but when I execute this one, it gives
me the follow error:
1a. Store product: [null] Sprocket                       price:
1.99             stock: 10
1b. Product stored: [261] Sprocket                       price:
1.99             stock: 10

2a. Find product by template, used template: [null]
Sprocket                     price: 1.99   stock: 10
2b. Found product: null

the problem is in the findByTemplate, becouse it return a null object.
The object is created in the database.
May somebody help? :)

Regards.

Luis



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org