Hi

When I'm trying to run Torque with JBoss/Tomcat 3.2.x,
I'm getting the following message (from the
jboss/tomcat console):

[IDBroker] IDBroker is being used with db 'jsptest',
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.

Postgres 7.1.x  supports Transactions - so what its
problem?

Also, I'm getting an error:

Error in handling UserAccountsTag Connection object is
null!

I'm running the same code on a non-web based app and
it works fine..

the code is: (which looks fine)

         JspWriter out = pageContext.getOut();

         Torque.init("Torque.properties");
         Criteria criteria = new Criteria();
         criteria.add(UsersPeer.USERID,"0");
UsersPeer.doSelect(criteria)
            Users user =
(Users)UsersPeer.doSelect(criteria).firstElement();


Thanks for any help

Stewart

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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

Reply via email to