On Fri, 28 May 2004, Glenn Barnard wrote:

> Fiona, glad it worked for. Was that with or without the 
> autoincrement="true"???
> 
> As per your stored procedures....This is a guess only. Since OJB won't know 
> what's returned from the stored procedure, I'd have to say you have to take 
> full control and insert the Payment first, get the PK from the stored 
> procedure and then insert the Transaction. Hopefully, someone else with more 
> experience with stored procedure can help you.

There is some doc about using stored procedure sequences:

http://db.apache.org/ojb/sequencemanager.html#Oracle-style%20sequencing

Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to