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 Philippe Guillard <pg...@soociety.com> on 2004/03/23 16:01:16 UTC

Object not PersistenceCapable error

I've got a JDOUserException/Object not PersistenceCapable error, Can
somebody tell me in which direction i should look for my error?

I only copied and adapt a working class to another one for another DB
table. So the repository.xml is there, don't have enhanced class
problems since i use JDO 1.0.1 for these both 2 new classes, they also
look similar in terms of column types used, don't need to give the path
cause it is in same directory and i use inside cocoon.(i use cocoon with
mysql, sun JDO 1.0.1)

Thanks for help.
Phil


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


Re: Object not PersistenceCapable error

Posted by Philippe Guillard <pg...@soociety.com>.
Thanks, i'll check!

On Tue, 2004-03-23 at 23:15, Brian McCallister wrote:
> This usually happens if you are running against a class file (bytecode) 
> that was not enhanced via the JDO bytecode enhancer. I suspect that the 
> enhancer wasn't run, or there is a problem in the .jdo files for that 
> class.
> 
> -Brian
> 
> On Mar 23, 2004, at 10:01 AM, Philippe Guillard wrote:
> 
> > I've got a JDOUserException/Object not PersistenceCapable error, Can
> > somebody tell me in which direction i should look for my error?
> >
> > I only copied and adapt a working class to another one for another DB
> > table. So the repository.xml is there, don't have enhanced class
> > problems since i use JDO 1.0.1 for these both 2 new classes, they also
> > look similar in terms of column types used, don't need to give the path
> > cause it is in same directory and i use inside cocoon.(i use cocoon 
> > with
> > mysql, sun JDO 1.0.1)
> >
> > Thanks for help.
> > Phil
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-user-help@db.apache.org
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 


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


Re: Object not PersistenceCapable error

Posted by Brian McCallister <mc...@forthillcompany.com>.
This usually happens if you are running against a class file (bytecode) 
that was not enhanced via the JDO bytecode enhancer. I suspect that the 
enhancer wasn't run, or there is a problem in the .jdo files for that 
class.

-Brian

On Mar 23, 2004, at 10:01 AM, Philippe Guillard wrote:

> I've got a JDOUserException/Object not PersistenceCapable error, Can
> somebody tell me in which direction i should look for my error?
>
> I only copied and adapt a working class to another one for another DB
> table. So the repository.xml is there, don't have enhanced class
> problems since i use JDO 1.0.1 for these both 2 new classes, they also
> look similar in terms of column types used, don't need to give the path
> cause it is in same directory and i use inside cocoon.(i use cocoon 
> with
> mysql, sun JDO 1.0.1)
>
> Thanks for help.
> Phil
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>



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