[castor-dev] key-generator="caMAX" problem in DB2

2002-11-11 Thread Suhas Kulkarni
Hi , can anyone has solution for below mentioned problem ? Regards --- Suhas Kulkarni <[EMAIL PROTECTED]> wrote: > Date: Mon, 11 Nov 2002 07:36:36 -0800 (PST) > From: Suhas Kulkarni <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [castor-dev] key-generator="

[castor-dev] key-generator="MAX" problem in DB2

2002-11-11 Thread Suhas Kulkarni
Hi , I get this DB2 Exception when I use Key-generator="MAX" feature in Castor-JDO . Here is the exception trace - COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2] SQL0118N The table or view that is the target of the INSERT, DELETE, or UPDATE statement is also specified in a FROM clause.

Re: [castor-dev] Problem in JDO mapping

2002-10-29 Thread Suhas Kulkarni
t. > > Read/write to database is no problem (you don't need > the timestamp), > only if your using a xml marshal/unmarshal you need > an timestamp. > > > Hope it helps, > > Robin Hoogeboom > > p.s. in your mapping file you can use "date" as ty

[castor-dev] Connecting to DB2

2002-10-29 Thread Suhas Kulkarni
Hi , How to specify database.xml file for connecting to DB2 database . ? I'm using WSAD here then how to configure the Datasource and use that in database.xml to point to database ? Also it will be great if you give some pointers on list of mapping between "java field types" and "DB2 column ty

[castor-dev] Problem in JDO mapping

2002-10-29 Thread Suhas Kulkarni
Hi , I have one question while working with Castor JDO. I create the object from XML Schema using SourceGenerator utility and then I persist those object to DB2 database using JDO O/R mapping . Now when I convert the xml schema to object, properties of object containing dates gets type as org.exo

[castor-dev] Problem in JDO mapping

2002-10-29 Thread Suhas Kulkarni
Hi , I have one question while working with Castor JDO. I create the object from XML Schema using SourceGenerator utility and then I persist those object to DB2 database using JDO O/R mapping . Now when I convert the xml schema to object, properties of object containing dates gets type as org.exo