You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by John Colvin <jc...@openconnect.co.uk> on 2001/11/15 10:36:09 UTC

Turbine and Sybase

Hi 
Has anybody had any luck getting turbine to run with Sybase.?

It creates the tables and peer classes okay and the BasePeer methods doInsert and doSelect work
great but when I come to use the doUpdate and doDelete  an exception is thrown from the Sybase drivers:

java.sql.SQLException: JZ0S2: Statement object has already been closed.
	at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:498)
	at com.sybase.jdbc2.jdbc.SybStatement.checkDead(SybStatement.java:1791)
	at com.sybase.jdbc2.jdbc.SybStatement.close(SybStatement.java:423)
	at com.workingdogs.village.DataSet.close(DataSet.java:343)
	at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1685)
	at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1578)
	at ch.openconnect.nodeadmin.om.BaseOwnerPeer.doUpdate(BaseOwnerPeer.java:367)
	at java.lang.reflect.Method.invoke(Native Method)
	at ch.openconnect.easytory.utils.EasytoryUtil.getAndInvokeMethod(EasytoryUtil.java:218)


Rgrds
John




#--------------------------------------
# John Colvin  jco@openconnect.co.uk
#
# OpenConnect(Ireland) Ltd
#
# Tel    : 0044(0) 28 93329321
# Mobile : 0044 (0)786 6859764
#--------------------------------------


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.281 / Virus Database: 149 - Release Date: 18/09/2001