Jim Caserta <[EMAIL PROTECTED]> schrieb am 05.10.2005 19:50:54:
> One other thing, just to be sure, and I'll pass it
> along to all Torque users here..
>
> If anyone has:
> Torque.closeConnection(dbConn);
> Torque.shutdown();
>
> It should be replaced with:
> dbConn.close();
> dbConn = null;
>
Thomas,
That was it. thanks!!
One other thing, just to be sure, and I'll pass it
along to all Torque users here..
If anyone has:
Torque.closeConnection(dbConn);
Torque.shutdown();
It should be replaced with:
dbConn.close();
dbConn = null;
Correct?
Jim
--- Thomas Fischer <[EMAIL PROTECTED]> w
Jim,
look at the example given for Torque.properties in the tutorial I sent you
yesterday. Replace all occurences of the word "bookstore" in the _KEYS_ of
the properties by essMarine. Set the value
torque.database.default=essMarine
and modify the values according to your database settings. T
Your right Henning. My apologies.. I received a Null
pointer Exception after receiving that warning, and I
thought they might be connected.
I'm attempting to do a join using:
rows = BasePeer.doSelect(criteria,conn); and received
java.lang.NullPointerException: There was no
DataSourceFactory conf
Hm, I am not so sure about this. I usually get it if I misconfigured
something in the runtime.
Thomas
"Henning P. Schmiedehausen" <[EMAIL PROTECTED]> schrieb am 05.10.2005
16:08:37:
> Jim Caserta <[EMAIL PROTECTED]> writes:
>
> This is not an error. That is why there is "WARN" written in
Jim Caserta <[EMAIL PROTECTED]> writes:
This is not an error. That is why there is "WARN" written in front of
it. :-)
The problem mentioned in the message persists, however. You are
probably using MySQL.
Best regards
Henning
>Thank you,
>I switched over to the SharedP
Thank you,
I switched over to the SharedPool and I am getting
this error in my WSAD console.
IDBroker W org.apache.torque.oid.IDBroker
IDBroker is being used with db 'essMarine', which does
not support transactions. IDBroker attempts to use
transactions to limit the possibility of duplicate
Hi,
you cannot use the DataSourceFactory, as it is only an interface which
cannot be instantiated. Use SharedPoolDataSourceFactory instead.
See also the sample configuration in the Tutorial,
http://db.apache.org/torque/releases/torque-3.2-rc2/runtime/tutorial/step4.html
Thomas
Jim Case