I have postgresql working with sequences.
castor-0.9.3.9
postgres-7.1.3-2
postgres jdbc: jdbc7.0-1.2.jar

Mappings like:
<key-generator name="SEQUENCE" alias="oid_gen">
  <param name="sequence" value="oid_gen"/>
</key-generator>

<class name="blah.blah.MyClass"
  identity="OID" key-generator="oid_gen">
  ...
</class>

Don't know if that helps, but it _can_ work.

--- Matthew Clark <[EMAIL PROTECTED]> wrote:
> Hi, 
> 
> I've been trying to get the SEQUENCE style key-gen
> to work with
> postgresql (latest version) and can't seem to get it
> going.  
> 
> I am getting the following Exception in the stack
> trace (twice!)
> 
> org.exolab.castor.jdo.PersistenceException: Fatal
> Error in the key
> generator
> 
> and just before that,
> 
> Castor: Creating org.ndimasp.UserBasic (null)
> 
> What is that null value? 
> 
> Regards,
> 
> Matthew.
> 
>
-----------------------------------------------------------
> 
> If you wish to unsubscribe from this mailing, send
> mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev
> 


=====
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
John Huxoll Gardner
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to