Hi,

what version of Castor JDO are you actually using ? And can you please
post a complete stack trace ?

Werner

Tshepo Manyaka wrote:
> Hello,
> 
> I get the folling error when I try to execute a query on my database object:
> 
> FATAL org.exolab.castor.jdo.engine.BaseFactory - A fatal exception
> occurred: org.exolab.castor.mapping.MappingException: Key generator
> org.exolab.castor.jdo.drivers.IdentityKeyGenerator doesnt support SQL
> type {1}.
> 
> The object that I am trying to query has the followning mapping tags
> in the class definition
>  * @table db_name.db_owner.table_name
>  * @key-generator IDENTITY 
>  * @xml object_name
>  * @cache-type unlimited
> ...
>     /**
>   * @primary-key 
>      * @type integer
>      * @nillable false
>      **/
>     private int pkComplaint;
> 
> I would appreciate any guidance on what I am doing wrong.
> 


-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to