portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beni <b...@asbero.com>
Subject Re: java.sql.SQLException: Can't call commit when autocommit=true
Date Wed, 16 Jun 2004 09:53:31 GMT
thanx i try it and it works no Exception occurs after adding "
jdbc:mysql://localhost:3306/jetspeed?relaxAutoCommit=true

thank you very much

Beni
----- Original Message ----- 
From: "Shao Fang" <sfang@spikesource.com>
To: "Jetspeed Developers List" <jetspeed-dev@jakarta.apache.org>
Sent: Tuesday, June 15, 2004 11:31 PM
Subject: Re: java.sql.SQLException: Can't call commit when autocommit=true


> Did you try setting MySQL connection URL in Torque.properties as
> follows:
>
> torque.dsfactory.default.connection.url =
> jdbc:mysql://localhost:3306/jetspeed?relaxAutoCommit=true
>
> Shao.
>
> On Tue, 2004-06-15 at 13:41, Beni wrote:
> > Hello All,
> >
> > i use jetspeed-1.6-dev and try to delete an Item from the CoffeesBrowser
> > (Tutorial-Example). When tryin to delete a
> >  "java.sql.SQLException: Can't call commit when autocommit=true"
occured.
> > When i refresh the Table in Coffees Browser all is ok the item is
correcty
> > deleted. Anyone an idea ?? what can i do ??  I use MySQL 4.0.17-nt. With
> > hypersonic there are no problems.
> >
> > Regards,
> >
> > Beni
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message