I assume you mean that no record was inserted, not that a record
with the field 'never' was inserted.
Supports means that if there is no transaction when the bean is
called, then no transaction will be used. If there is a transaction when
the bean is called, then that transaction will be used.
Required means that if there is no transaction when the bean is
called, then a transaction will be created and used. If there is a
transaction when the bean is called, then that transaction will be used.
If all of your beans are marked as Supports, then no transaction
will ever be created, and as a result all DB operations will be rolled
back. When you change them to Required, then any bean called directly by
a client will create a transaction, and any beans it calls will use that
transaction, so the data the beans write will be committed.
Aaron
On Fri, 1 Dec 2000, Jason Dillon wrote:
> Hello again. I ran an even simplier example, with one bean. I tried to
> create it using the minerva datasource and the record 'never' got inserted.
> All of the beans methods were marked as 'Supports' transactions. I changed
> them to 'Required' and it works fine.
>
> Is there something wrong with 'Supports'?
>
> --jason
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]