It should work just the same...I'm gonna test it out later on my other
machine, and I'll report back then...I just tested the
conn.setAutoCommit (false);
doObject stuff
conn.commit();
and it doesn't throw any errors, but I haven't tested it with turbine yet...
-Nissim
> -----Original Message-----
> From: John McNally [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 13, 2000 12:46 PM
> To: Turbine
> Subject: Re: Logout user problem
>
>
> Are you using the latest BasePeer? I switched from using
> somewhat generic
> sql to the jdbc methods (which hopefully cover more db's).
> The transaction
> stuff was originally written to work with Postgres.
>
>
>
>
> ----- Original Message -----
> From: Regis Koenig <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 13, 2000 9:49 AM
> Subject: Logout user problem
>
>
> > I have encountered the following exception while trying to
> logout from
> > the WM admin page:
> >
> >
> **************************************************************
> ************
> > ERROR: Unterminated quoted string
> > FATAL 1: Socket command type unknown
> > java.sql.SQLException: FATAL 1: Socket command type unknown
> >
> > at org.postgresql.Connection.ExecSQL(Connection.java:403)
> > at org.postgresql.jdbc2.Connection.commit(Connection.java:173)
> > at
> >
> org.apache.turbine.util.db.pool.DBConnection.commit(DBConnecti
> on.java:124)
> > at
> >
> org.apache.turbine.om.peer.BasePeer.commitTransaction(BasePeer
> .java:295)
> > at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1157)
> > at
> >
> org.apache.turbine.om.user.peer.TurbineUserPeer.doUpdate(Turbi
> neUserPeer.jav
> a:307)
> > at
> >
> org.apache.turbine.om.user.TurbineUser.saveToStorage(TurbineUs
> er.java:563)
> > at
> >
> org.apache.turbine.modules.actions.LogoutUser.doPerform(Logout
> User.java:88)
> > ...
> >
> **************************************************************
> **************
> >
> > Today, I am not familiar enough with the Peer stuff (but I
> am learning
> > ...) to carry it by myself. I run PostgreSQL 7.0.2
> (distrib), with the
> > last JDBC driver from CVS patched according to the turbine Postgres
> > Howto (linux jdk1.2.2 from Sun, tomcat)
> >
> > Regis
> >
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Search:
> <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > Problems?: [EMAIL PROTECTED]
> >
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]