I got the tables created with BLOB on DB2, but, as it was required to create
ROWID column when creating a BLOB column with DB2, we have also created
ROWID column. Now the problem is, it throws exception saying "Only 13 column
exist". I changed the TurbineUserPeer class to use hard-coded column length.
It throws below exception:

COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0112E  Error in
assignment. SQLSTATE=22005
        at
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGe
nerator.java:247)
        at
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGe
nerator.java:186)
        at
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(SQLExceptionGen
erator.java:431)
        at
COM.ibm.db2.jdbc.app.DB2PreparedStatement.execute2(DB2PreparedStatement.java
:1099)
        at
COM.ibm.db2.jdbc.app.DB2PreparedStatement.executeUpdate(DB2PreparedStatement
.java:726)
        at com.workingdogs.village.Record.saveWithUpdate(Unknown Source)
        at com.workingdogs.village.Record.save(Unknown Source)
        at com.workingdogs.village.Record.save(Unknown Source)
        at
org.apache.torque.util.BasePeer.insertOrUpdateRecord(BasePeer.java:901)
        at org.apache.torque.util.BasePeer.doUpdate(BasePeer.java:1927)
        at org.apache.torque.util.BasePeer.doUpdate(BasePeer.java:1824)
        at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.doUpdate(BaseTur
bineUserPeer.java:530)

Has anyone faced this problem before. Any ideas will be appreciated.

Regards,
Prashanth

======================================================================== 
This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to [EMAIL PROTECTED] 
Toys "R" Us, Inc.

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

Reply via email to