Forgive my piggy-backing off your question, Paul, but your log brings up an
issue which I am preparing to face. I am using Postgresql, and I also get
"...IDBroker is being used with db [my database], which does not support
transactions..."

Why does Torque believe transactions are not supported?
Are transactions actually being supported even though the log says they are
not?

TIA (and please forgive the piggybacking)

Steve B.

PS - I saw this question asked in the Archives, but could not find an
answer.


----- Original Message -----
From: "Paul Carroll" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 2:37 PM
Subject: ClassNotFoundException at save() in Torque simple app


> Hello,
> I am attempting to run a small test app using torque and MS SQL Server 7.
I have been able to create the database and the tables correctly.  When I
try to insert a row into on of the tables I get a NullPointerException when
I come upon the save() method.  Here is the torque.log file:
>
> 2002-02-27 17:36:00,034 [main] INFO  org.apache.torque.Torque - Logging
has been configured by Torque.
> 2002-02-27 17:36:00,044 [main] ERROR org.apache.torque.adapter.DBFactory -
java.lang.ClassNotFoundException: org.apache.torque.adapter.null
> 2002-02-27 17:36:00,174 [main] WARN  org.apache.torque.oid.IDBroker -
IDBroker is being used with db 'bookstore', which does not support
transactions.  IDBroker attempts to use transactions to limit the
possibility of duplicate key generation.  Without transactions, duplicate
key generation is possible if multiple JVMs are used or other means are used
to write to the database.
>
> I have these 2 lines in the Torque.properties file also:
>
> services.DatabaseService.database.adaptor=DBMSSQL
>
services.DatabaseService.database.adaptor.DBMSSQL=com.jnetdirect.jsql.JSQLDr
iver
>
> Anybody have any ideas as to what may be going wrong.  Thanks.
>
> Paul
>
> _____________________________________________________________
> Looking for Employment Just Got Easier!  http://www.jobs.nf.ca
>
> _____________________________________________________________
> You deserve a better email address! Get personalized email @yourname
> or @yourcompany from Everyone.net --> http://www.everyone.net?tag
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>



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

Reply via email to