Hi all!

I just started using Torque again and Im having a strange error, it looks
like, where Torque is using the IDBroker when I believe it is not supposed
to.

I setup my schema to use defaultIdMethod="native".

However, when I run I get the following error:

2002-05-20 15:44:45,759 WARN  oid.IDBroker (IDBroker.java:263) - IDBroker is
bei
ng used with db 'andrew2', which does not support transactions.  IDBroker
attemp
ts to use transactions to limit the possibility of duplicate key generation.
Wi
thout transactions, duplicate key generation is possible if multiple JVMs
are us
ed or other means are used to write to the database.

I am using MySQl database.


Right after this, when I try to do a save() on one of my generated classes I
get the following stack trace:

java.lang.NullPointerException
        at
org.apache.torque.util.BasePeer.rollBackTransaction(BasePeer.java:424
)
        at com.foo.BaseChannelDO.save(BaseChannelDO.java:381)


Any ideas?

Thanks,
Andrew


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

Reply via email to