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="MAX" problem in > DB2 > > 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. SQLSTATE=42902 > > what can be the problem . I've simple table , and > this > is simple mapping in my mapping .xml file > > <class name="test.jdo.Product" identity="id" > key-generator="MAX"> > <map-to table="test_product" /> > <field name="id" type="integer"> > <sql name="id" type="integer"/> > </field> > </class> > > > > Can you tell why am I getting the above exception ? > > > > __________________________________________________ > Do you Yahoo!? > U2 on LAUNCH - Exclusive greatest hits videos > http://launch.yahoo.com/u2 > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send > mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
