Thanks for the reply,

I am new to Turbine, we were using a small part of Turbine functionality
related to security and now need to support DB2 8.0 and for every call, DB2
is throwing an exception. Will look into how to configure torque for turbine.

:{} COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0303N  A
value cannot be assigned to a host variable in the SELECT, VALUES, or FETCH
statement because the data types are not compatible.  SQLSTATE=42806

        at
COM.ibm.db2.jdbc.net.SQLExceptionGenerator.throw_SQLException(Unknown Source)
        at
COM.ibm.db2.jdbc.net.SQLExceptionGenerator.check_return_code(Unknown Source)
        at
COM.ibm.db2.jdbc.net.SQLExceptionGenerator.check_return_code(Unknown Source)
        at COM.ibm.db2.jdbc.net.DB2PreparedStatement.executeUpdate(Unknown
Source)
        at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:293)
        at
weblogic.jdbc.rmi.internal.PreparedStatementImpl.executeUpdate(PreparedStatem
entImpl.java:66)
        at
weblogic.jdbc.rmi.SerialPreparedStatement.executeUpdate(SerialPreparedStateme
nt.java:57)
        at com.workingdogs.village.Record.saveWithInsert(Record.java:328)
        at com.workingdogs.village.Record.save(Record.java:185)
        at com.workingdogs.village.Record.save(Record.java:166)
        at
org.apache.turbine.om.peer.BasePeer.insertOrUpdateRecord(BasePeer.java:860)
        at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:764)
        at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:657)

-Harish.

-----Original Message-----
From: Bill [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 8:00 PM
To: Turbine Users List
Subject: Re: Does Turbine work on DB2?


Harish

Turbine has nothing to do with databases, if you are having a problem it
is likely with torque.  Torque has been tested on DB2 UDB and AS400. 
The AS400 adapter may have a "case-insensitivity issue" according to the
Torque site:

http://db.apache.org/torque/

You make no mention of what the problem is so I can only conjecture, but
make sure your db.props file in Torque is accurate.  I am using
postgresql and the default file that came with Torque was not configured
properly.  This file defines data type mappings.

If you continue to have problems, you might get more quality responses
on the Torque users list than here.

good luck

-b

On Thu, 2003-04-03 at 02:31, Harish S K wrote:
> Hi,
> 
> Has it been verified that Turbine works with DB2 8 (or any version)?
> I am facing many problems both with 2.1 and 2.2 on DB2 which do not occur
on
> Oracle.
> 
> Thanks,
> Harish.
> 
> 
> DISCLAIMER:
> This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses and
defects. MindTree Consulting Private Limited (MindTree) will not be
responsible for any viruses or defects or any forwarded attachments emanating
either from within MindTree or outside. If you have received this message by
mistake please notify the sender by return  e-mail and delete this message
from your system. Any unauthorized use or dissemination of this message in
whole or in part is strictly prohibited.  Please note that e-mails are
susceptible to change and MindTree shall not be liable for any improper,
untimely or incomplete transmission.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



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



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. 
Before opening attachments please check them for viruses and defects. MindTree 
Consulting Private Limited (MindTree) will not be responsible for any viruses or 
defects or any forwarded attachments emanating either from within MindTree or outside. 
If you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or dissemination 
of this message in whole or in part is strictly prohibited.  Please note that e-mails 
are susceptible to change and MindTree shall not be liable for any improper, untimely 
or incomplete transmission.

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

Reply via email to